summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files 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