summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a6976d2..2ea7ec0 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,10 @@ install:
@# Install templates
cp -r templates $(DESTDIR)/usr/share/make-live
+ @# Install documentation
+ install -d -m 0755 $(DESTDIR)/usr/share/doc/live-package
+ install -m 0644 doc/*.txt $(DESTDIR)/usr/share/doc/live-package
+
@# Install manpages
install -d -m 0755 $(DESTDIR)/usr/share/man/man8
install -m 0644 doc/man/*.8 $(DESTDIR)/usr/share/man/man8
@@ -36,6 +40,9 @@ uninstall:
@# Remove shared data
rm -rf $(DESTDIR)/usr/share/make-live
+ @# Remove documentation
+ rm -rf $(DESTDIR)/usr/share/doc/live-package
+
@# Remove manpages
rm -f $(DESTDIR)/usr/share/man/man8/make-live.*