Skip to content

Commit

Permalink
build: add a standalone strip target
Browse files Browse the repository at this point in the history
Move the strip invocation into its own target to allow stripping
binaries without having to run the "realinstall" target.
  • Loading branch information
kmk3 committed May 17, 2024
1 parent 5eeaaa0 commit 8748d76
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ mydirs: $(MYDIRS)
$(MYDIRS):
$(MAKE) -C $@

.PHONY: strip
strip: all
strip $(ALL_ITEMS)

.PHONY: filters
filters: $(SECCOMP_FILTERS)
seccomp: src/fseccomp/fseccomp src/fsec-optimize/fsec-optimize Makefile
Expand Down Expand Up @@ -273,8 +277,7 @@ install: all
$(MAKE) realinstall

.PHONY: install-strip
install-strip: all
strip $(ALL_ITEMS)
install-strip: strip
$(MAKE) realinstall

.PHONY: uninstall
Expand Down

0 comments on commit 8748d76

Please sign in to comment.