From be0fe6502f4fa893e2f960d8caef1bd6faeb0062 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Wed, 17 Aug 2022 13:33:38 +0200 Subject: [PATCH] Makefile: Install demo.sh too, uninstall stuff under /usr/share Suggested-by: Benson Muite Signed-off-by: Stefano Brivio --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index f03d117..81b997e 100644 --- a/Makefile +++ b/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)