Преглед изворни кода

fix docs compile targets

SVN-Revision: 7905
Felix Fietkau пре 18 година
родитељ
комит
a925fec9c7
2 измењених фајлова са 7 додато и 5 уклоњено
  1. 4 4
      Makefile
  2. 3 1
      docs/Makefile

+ 4 - 4
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

+ 3 - 1
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