summaryrefslogtreecommitdiff
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 0000000..0a41287
--- /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