From 5f401e82a5a28a762e4259e79dec75e9dd774443 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 3 Nov 2016 17:56:15 +0100 Subject: Installing README.txt into documentation directory. Signed-off-by: Daniel Baumann --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 329cc89..2b564e2 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,9 @@ build: share/man/*.txt done install: build + mkdir -p $(DESTDIR)/usr/share/doc/$(SOFTWARE) + cp -a README.txt $(DESTDIR)/usr/share/doc/$(SOFTWARE) + mkdir -p $(DESTDIR)/usr/share/$(SOFTWARE) cp -a build/* $(DESTDIR)/usr/share/$(SOFTWARE) @@ -91,6 +94,9 @@ uninstall: rm -rf $(DESTDIR)/usr/share/$(SOFTWARE)/* rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/usr/share/$(SOFTWARE) || true + rm -rf $(DESTDIR)/usr/share/doc/$(SOFTWARE)/* + rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/usr/share/doc/$(SOFTWARE) || true + clean: $(MAKE) -C share/man clean -- cgit v1.2.3