summaryrefslogtreecommitdiff
path: root/package/targets.mak
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-02-02 21:06:35 +0000
committerLaurent Bercot <ska@appnovation.com>2023-02-02 21:06:35 +0000
commitb51260a8f2f6a7570e51b8414a468111e023c04d (patch)
tree4f7b0c67eb48e5c18f8bb12d566f34133d934815 /package/targets.mak
parent9d55d49dad0f4cb90e6ff2f9b1c3bc46a6fcf05f (diff)
downloadexecline-b51260a8f2f6a7570e51b8414a468111e023c04d.tar.xz
Prepare for 2.9.2.0, add install target for multicall
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'package/targets.mak')
-rw-r--r--package/targets.mak9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/targets.mak b/package/targets.mak
index 258ed41..1b84161 100644
--- a/package/targets.mak
+++ b/package/targets.mak
@@ -73,7 +73,14 @@ EXTRA_BINS := execline
EXTRA_TEMP := src/multicall/execline.c
multicall: execline
-.PHONY: multicall
+
+multicall-strip: execline
+ exec $(STRIP) -R .note -R .comment execline
+
+multicall-install: $(DESTDIR)$(bindir)/execline
+ for i in $(BIN_TARGETS) $(EXTRA_TARGETS) ; do ./tools/install.sh -l execline $(DESTDIR)$(bindir)/$$i ; done
+
+.PHONY: multicall multicall-strip multicall-install
src/multicall/execline.c: tools/gen-multicall.sh src/execline/deps-exe src/include/execline/config.h src/include/execline/execline.h
./tools/gen-multicall.sh > src/multicall/execline.c