diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-08-17 13:33:38 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-08-20 19:07:12 +0200 |
commit | be0fe6502f4fa893e2f960d8caef1bd6faeb0062 (patch) | |
tree | 81eaef8b1ee2a5478adfe03b10b98c0cf8fecaa6 /Makefile | |
parent | c5f4ba1b1b27a6879855127dcd4947a081e0d249 (diff) | |
download | passt-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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |