aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-08-17 13:33:38 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-08-20 19:07:12 +0200
commitbe0fe6502f4fa893e2f960d8caef1bd6faeb0062 (patch)
tree81eaef8b1ee2a5478adfe03b10b98c0cf8fecaa6
parentc5f4ba1b1b27a6879855127dcd4947a081e0d249 (diff)
downloadpasst-be0fe6502f4fa893e2f960d8caef1bd6faeb0062.tar
passt-be0fe6502f4fa893e2f960d8caef1bd6faeb0062.tar.gz
passt-be0fe6502f4fa893e2f960d8caef1bd6faeb0062.tar.bz2
passt-be0fe6502f4fa893e2f960d8caef1bd6faeb0062.tar.lz
passt-be0fe6502f4fa893e2f960d8caef1bd6faeb0062.tar.xz
passt-be0fe6502f4fa893e2f960d8caef1bd6faeb0062.tar.zst
passt-be0fe6502f4fa893e2f960d8caef1bd6faeb0062.zip
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>
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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)