Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit d9a979d

Browse files
committed
Change runltp-ng LTP install folder name
runltp-ng install folder has been moved inside the default LTP install folder under runltp-ng.d. In this way we move it out of the binary folder and keep it visible inside the LTP installation.
1 parent 3979280 commit d9a979d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ top_srcdir ?= ../..
77

88
include $(top_srcdir)/include/mk/env_pre.mk
99

10-
INSTALL_DIR := $(DESTDIR)/$(bindir)
10+
INSTALL_DIR := $(prefix)/runltp-ng.d
1111

1212
install:
13-
mkdir -p $(INSTALL_DIR)/runltp-ng/ltp
13+
mkdir -p $(INSTALL_DIR)/ltp
1414

15-
install -m 00644 $(top_srcdir)/tools/runltp-ng/ltp/*.py $(INSTALL_DIR)/runltp-ng/ltp
16-
install -m 00775 $(top_srcdir)/tools/runltp-ng/runltp-ng $(INSTALL_DIR)/runltp-ng/runltp-ng
15+
install -m 00644 $(top_srcdir)/tools/runltp-ng/ltp/*.py $(INSTALL_DIR)/ltp
16+
install -m 00775 $(top_srcdir)/tools/runltp-ng/runltp-ng $(INSTALL_DIR)/runltp-ng
1717

18-
ln -sf $(INSTALL_DIR)/runltp-ng/runltp-ng $(DESTDIR)/$(prefix)/runltp-ng
18+
ln -sf $(INSTALL_DIR)/runltp-ng $(prefix)/runltp-ng
1919

2020
include $(top_srcdir)/include/mk/generic_leaf_target.mk

0 commit comments

Comments
 (0)