[kernel] netfilter: fix RTSP on 2.6.24
[openwrt.git] / docs / Makefile
1 ifeq ($(TOPDIR),)
2 TOPDIR:=${CURDIR}/..
3 endif
4
5 all: compile
6
7 include $(TOPDIR)/rules.mk
8 include $(INCLUDE_DIR)/prereq.mk
9
10 MAIN = openwrt.tex
11 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
12
13 compile:
14 $(NO_TRACE_MAKE) cleanup
15 latex $(MAIN)
16 $(NO_TRACE_MAKE) openwrt.pdf openwrt.html
17 $(NO_TRACE_MAKE) cleanup
18
19 $(TMP_DIR)/.prereq-docs:
20 mkdir -p $(TMP_DIR)
21 $(NO_TRACE_MAKE) prereq
22 touch $@
23
24 openwrt.html: $(DEPS)
25 htlatex $(MAIN)
26
27 openwrt.pdf: $(DEPS)
28 pdflatex $(MAIN)
29
30 clean: cleanup
31 rm -f openwrt.pdf openwrt.html openwrt.css
32
33 cleanup: FORCE
34 rm -f *.log *.aux *.toc *.out *.lg *.dvi *.idv *.4ct *.4tc *.xref *.tmp *.dvi
35
36 $(eval $(call RequireCommand,latex, \
37 You need to install LaTeX to build the OpenWrt documentation \
38 ))
39 $(eval $(call RequireCommand,pdflatex, \
40 You need to install LaTeX to build the OpenWrt documentation \
41 ))
42 $(eval $(call RequireCommand,htlatex, \
43 You need to install tex4ht to build the OpenWrt documentation \
44 ))
45
46 FORCE:
47 .PHONY: FORCE
This page took 0.043208 seconds and 5 git commands to generate.