Makefile: Install demo.sh too, uninstall stuff under /usr/share
Suggested-by: Benson Muite <benson_muite@emailplus.org> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
c5f4ba1b1b
commit
be0fe6502f
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -131,10 +131,14 @@ install: $(BIN) $(MANPAGES) docs
|
|||
cp -d $(MANPAGES) $(DESTDIR)$(prefix)/share/man/man1
|
||||
mkdir -p $(DESTDIR)$(prefix)/share/doc/passt
|
||||
cp -d README.plain.md $(DESTDIR)$(prefix)/share/doc/passt/README.md
|
||||
cp -d doc/demo.sh $(DESTDIR)$(prefix)/share/doc/passt
|
||||
|
||||
uninstall:
|
||||
$(RM) $(BIN:%=$(DESTDIR)$(prefix)/bin/%)
|
||||
$(RM) $(MANPAGES:%=$(DESTDIR)$(prefix)/share/man/man1/%)
|
||||
$(RM) $(DESTDIR)$(prefix)/share/doc/passt/README.md
|
||||
$(RM) $(DESTDIR)$(prefix)/share/doc/passt/demo.sh
|
||||
-rmdir $(DESTDIR)$(prefix)/share/doc/passt
|
||||
|
||||
pkgs: static
|
||||
tar cf passt.tar -P --xform 's//\/usr\/bin\//' $(BIN)
|
||||
|
|
Loading…
Reference in a new issue