summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.in
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-03-18 04:55:00 +0100
committerPatrick McHardy <kaber@trash.net>2009-03-18 04:55:00 +0100
commitfac10ea799fe9b6158d74f66d6ad46536d38a545 (patch)
tree8c093bcbb2144aab54c70103e6ed438456ae0d48 /doc/Makefile.in
Initial commitv0.01-alpha1
Diffstat (limited to 'doc/Makefile.in')
-rw-r--r--doc/Makefile.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
new file mode 100644
index 00000000..497e17ab
--- /dev/null
+++ b/doc/Makefile.in
@@ -0,0 +1,14 @@
+mandocs-@CONFIG_MAN@ += doc/nftables.8
+pdfdocs-@CONFIG_PDF@ += doc/nftables.pdf
+
+all: $(mandocs-y) $(pdfdocs-y)
+clean:
+ @echo -e " CLEAN\t\tdoc"
+ $(RM) $(mandocs-y) $(pdfdocs-y)
+
+install:
+ @echo -e " INSTALL\tdoc"
+ $(MKDIR_P) $(DESTDIR)/${mandir}/man8
+ $(INSTALL) -m 755 -o root -g root $(mandocs-y) $(DESTDIR)/${mandir}/man8/
+ $(MKDIR_P) $(DESTDIR)/${pdfdir}
+ $(INSTALL) -m 755 -o root -g root $(pdfdocs-y) $(DESTDIR)/${pdfdir}/