aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/Makefile b/docs/Makefile
new file mode 100644
index 0000000000..0a4128754b
--- /dev/null
+++ b/docs/Makefile
@@ -0,0 +1,15 @@
+openwrt.pdf: Makefile openwrt.tex config.tex network.tex network-scripts.tex
+ $(MAKE) cleanup
+ pdflatex openwrt.tex
+ pdflatex openwrt.tex
+ $(MAKE) cleanup
+
+clean: cleanup
+ rm -f openwrt.pdf
+
+cleanup: FORCE
+ rm -f *.log *.aux *.toc
+
+
+FORCE:
+.PHONY: FORCE