Skip to content

Commit

Permalink
build: remove redundant realinstall target
Browse files Browse the repository at this point in the history
Leave just the "install" and "install-strip" targets.

See commit 099925e ("added install-strip, make install now without
strip.", 2015-09-10) / PR #60 and commit 0215cbc ("make install, make
install-strip", 2015-09-11).
  • Loading branch information
kmk3 committed May 17, 2024
1 parent 8748d76 commit 97de0e0
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ clean:
distclean: clean
rm -fr autom4te.cache config.log config.mk config.sh config.status

.PHONY: realinstall
realinstall: config.mk
.PHONY: install
install: all config.mk
# firejail executable
install -m 0755 -d $(DESTDIR)$(bindir)
install -m 0755 src/firejail/firejail $(DESTDIR)$(bindir)
Expand Down Expand Up @@ -272,13 +272,8 @@ endif
install -m 0755 -d $(DESTDIR)$(datarootdir)/zsh/site-functions
install -m 0644 src/zsh_completion/_firejail $(DESTDIR)$(datarootdir)/zsh/site-functions/

.PHONY: install
install: all
$(MAKE) realinstall

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

.PHONY: uninstall
uninstall: config.mk
Expand Down

0 comments on commit 97de0e0

Please sign in to comment.