From 8347cb6ce58305c9838a42518d4b56e140f23bae Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 1 Oct 2022 20:11:24 +0200 Subject: Updating Makefile to install documentation files. Signed-off-by: Daniel Baumann --- Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1cb1422..7e8b11c 100644 --- a/Makefile +++ b/Makefile @@ -83,7 +83,12 @@ test-ssh: ssh-keys/*/*.sig gpg --no-default-keyring --keyring /usr/share/keyrings/debian-keyring.gpg --verify $${SIG}; \ done -install: install-pgp install-ssh +install: install-doc install-pgp install-ssh + +install-doc: + # install doc + mkdir -p $(DESTDIR)/usr/share/doc/$(PROJECT) + cp *.txt $(DESTDIR)/usr/share/doc/$(PROJECT) install-pgp: build-pgp # install pgp keyrings @@ -95,7 +100,11 @@ install-ssh: build-ssh mkdir -p $(DESTDIR)/usr/share/progress-linux/ssh-keys cp ssh-keys/*.pub $(DESTDIR)/usr/share/progress-linux/ssh-keys -uninstall: uninstall-pgp uninstall-ssh +uninstall: uninstall-doc uninstall-pgp uninstall-ssh + +uninstall-doc: + # uninstall doc + rm -rf $(DESTDIR)/usr/share/doc/$(PROJECT) uninstall-pgp: # uninstall pgp keyrings -- cgit v1.2.3