From: Felix Fietkau Date: Tue, 10 Jul 2007 16:38:05 +0000 (+0000) Subject: fix docs compile targets X-Git-Tag: reboot~28726 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fchunkeey.git;a=commitdiff_plain;h=a925fec9c7674cc7245b317aad44274597aa99cd fix docs compile targets SVN-Revision: 7905 --- diff --git a/Makefile b/Makefile index dbfdb8e82e..b798f723c8 100644 --- a/Makefile +++ b/Makefile @@ -147,11 +147,11 @@ distclean: dirclean config-clean symlinkclean docclean help: cat README -doc: - $(MAKE) -C docs/ openwrt.pdf +docs docs/compile: FORCE + $(MAKE) -C docs compile -docclean: - $(MAKE) -C docs/ clean +docs/clean: FORCE + $(MAKE) -C docs clean symlinkclean: -find package -type l | xargs rm -f diff --git a/docs/Makefile b/docs/Makefile index 82381e3169..ffc5bbb062 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -2,13 +2,15 @@ ifeq ($(TOPDIR),) TOPDIR:=${CURDIR}/.. endif +all: compile + 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 $(TMP_DIR)/.prereq-docs -all: +compile: $(NO_TRACE_MAKE) cleanup latex $(MAIN) $(NO_TRACE_MAKE) openwrt.pdf openwrt.html