summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-03 16:56:15 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-12-11 09:37:09 +0000
commit5f401e82a5a28a762e4259e79dec75e9dd774443 (patch)
tree0ccb909052e79b4c71c32a631d5f5522ced553b3
parentReplacing README.txt with a copy of apache-tools.7 manpage. (diff)
downloadservice-tools-5f401e82a5a28a762e4259e79dec75e9dd774443.tar.xz
service-tools-5f401e82a5a28a762e4259e79dec75e9dd774443.zip
Installing README.txt into documentation directory.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
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