aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-05-17 02:59:23 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-05-17 03:45:02 -0300
commit8748d76e809ea3cbd3ddc12f58c888b362619a27 (patch)
tree445bb6302b8dd0c9d2d837c210994df70d5086ab
parentNew profile: nhex (#6341) (diff)
downloadfirejail-8748d76e809ea3cbd3ddc12f58c888b362619a27.tar.gz
firejail-8748d76e809ea3cbd3ddc12f58c888b362619a27.tar.zst
firejail-8748d76e809ea3cbd3ddc12f58c888b362619a27.zip
build: add a standalone strip target
Move the strip invocation into its own target to allow stripping binaries without having to run the "realinstall" target.
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 158a3c222..c3b6ca243 100644
--- a/Makefile
+++ b/Makefile
@@ -69,6 +69,10 @@ mydirs: $(MYDIRS)
69$(MYDIRS): 69$(MYDIRS):
70 $(MAKE) -C $@ 70 $(MAKE) -C $@
71 71
72.PHONY: strip
73strip: all
74 strip $(ALL_ITEMS)
75
72.PHONY: filters 76.PHONY: filters
73filters: $(SECCOMP_FILTERS) 77filters: $(SECCOMP_FILTERS)
74seccomp: src/fseccomp/fseccomp src/fsec-optimize/fsec-optimize Makefile 78seccomp: src/fseccomp/fseccomp src/fsec-optimize/fsec-optimize Makefile
@@ -273,8 +277,7 @@ install: all
273 $(MAKE) realinstall 277 $(MAKE) realinstall
274 278
275.PHONY: install-strip 279.PHONY: install-strip
276install-strip: all 280install-strip: strip
277 strip $(ALL_ITEMS)
278 $(MAKE) realinstall 281 $(MAKE) realinstall
279 282
280.PHONY: uninstall 283.PHONY: uninstall