diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-05-17 02:59:23 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-05-17 03:45:02 -0300 |
commit | 8748d76e809ea3cbd3ddc12f58c888b362619a27 (patch) | |
tree | 445bb6302b8dd0c9d2d837c210994df70d5086ab /Makefile | |
parent | New profile: nhex (#6341) (diff) | |
download | firejail-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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -69,6 +69,10 @@ mydirs: $(MYDIRS) | |||
69 | $(MYDIRS): | 69 | $(MYDIRS): |
70 | $(MAKE) -C $@ | 70 | $(MAKE) -C $@ |
71 | 71 | ||
72 | .PHONY: strip | ||
73 | strip: all | ||
74 | strip $(ALL_ITEMS) | ||
75 | |||
72 | .PHONY: filters | 76 | .PHONY: filters |
73 | filters: $(SECCOMP_FILTERS) | 77 | filters: $(SECCOMP_FILTERS) |
74 | seccomp: src/fseccomp/fseccomp src/fsec-optimize/fsec-optimize Makefile | 78 | seccomp: 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 |
276 | install-strip: all | 280 | install-strip: strip |
277 | strip $(ALL_ITEMS) | ||
278 | $(MAKE) realinstall | 281 | $(MAKE) realinstall |
279 | 282 | ||
280 | .PHONY: uninstall | 283 | .PHONY: uninstall |