diff --git a/docs/Makefile b/docs/Makefile index 9e888a4af..d20556a67 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/prereq.mk MAIN = openwrt.tex -DEPS = $(MAIN) Makefile config.tex network.tex network-scripts.tex network-scripts.tex wireless.tex build.tex adding.tex bugs.tex .prereq +DEPS = $(MAIN) Makefile config.tex network.tex network-scripts.tex network-scripts.tex wireless.tex build.tex adding.tex bugs.tex $(TMP_DIR)/.prereq-docs all: $(MAKE) cleanup @@ -14,7 +14,7 @@ all: $(MAKE) openwrt.pdf openwrt.html $(MAKE) cleanup -.prereq: +$(TMP_DIR)/.prereq-docs: $(MAKE) prereq touch $@