summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..9ee91a7
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,21 @@
+MAN=mc.1 \
+ muse.1 \
+ myrbuild.1 \
+
+include ../config.mk
+
+all:
+
+install:
+ @echo install -m 644 $(MAN) $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man1); \
+ mkdir -p $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man1); \
+ install -m 644 $(MAN) $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man1); \
+
+uninstall: $(MAN)
+ @for i in $^; do \
+ echo rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man1/$$i); \
+ rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/share/man/man1/$$i); \
+ done
+
+clean:
+