fix docs compile targets

SVN-Revision: 7905
This commit is contained in:
Felix Fietkau 2007-07-10 16:38:05 +00:00
parent 968894ad08
commit a925fec9c7
2 changed files with 7 additions and 5 deletions

View file

@ -147,11 +147,11 @@ distclean: dirclean config-clean symlinkclean docclean
help: help:
cat README cat README
doc: docs docs/compile: FORCE
$(MAKE) -C docs/ openwrt.pdf $(MAKE) -C docs compile
docclean: docs/clean: FORCE
$(MAKE) -C docs/ clean $(MAKE) -C docs clean
symlinkclean: symlinkclean:
-find package -type l | xargs rm -f -find package -type l | xargs rm -f

View file

@ -2,13 +2,15 @@ ifeq ($(TOPDIR),)
TOPDIR:=${CURDIR}/.. TOPDIR:=${CURDIR}/..
endif endif
all: compile
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/prereq.mk include $(INCLUDE_DIR)/prereq.mk
MAIN = openwrt.tex 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 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 $(NO_TRACE_MAKE) cleanup
latex $(MAIN) latex $(MAIN)
$(NO_TRACE_MAKE) openwrt.pdf openwrt.html $(NO_TRACE_MAKE) openwrt.pdf openwrt.html