summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile36
1 files changed, 3 insertions, 33 deletions
diff --git a/Makefile b/Makefile
index ea7448d2e..d03679b15 100644
--- a/Makefile
+++ b/Makefile
@@ -67,10 +67,7 @@ install-hardlinks: applets/install.sh busybox busybox.links
67 67
68 68
69# Documentation Targets 69# Documentation Targets
70doc: olddoc 70doc: docs/busybox.pod docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html
71
72# Old Docs...
73olddoc: docs/busybox.pod docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html
74 71
75docs/busybox.pod : docs/busybox_header.pod include/usage.h docs/busybox_footer.pod 72docs/busybox.pod : docs/busybox_header.pod include/usage.h docs/busybox_footer.pod
76 - ( cat docs/busybox_header.pod; \ 73 - ( cat docs/busybox_header.pod; \
@@ -100,33 +97,6 @@ docs/busybox.net/BusyBox.html: docs/busybox.pod
100 docs/busybox.net/BusyBox.html 97 docs/busybox.net/BusyBox.html
101 -@ rm -f pod2htm* 98 -@ rm -f pod2htm*
102 99
103
104# New docs based on DOCBOOK SGML
105newdoc: docs/busybox.txt docs/busybox.pdf docs/busybox/busyboxdocumentation.html
106
107docs/busybox.txt: docs/busybox.sgml
108 @echo
109 @echo BusyBox Documentation
110 @echo
111 - mkdir -p docs
112 (cd docs; sgmltools -b txt busybox.sgml)
113
114docs/busybox.dvi: docs/busybox.sgml
115 - mkdir -p docs
116 (cd docs; sgmltools -b dvi busybox.sgml)
117
118docs/busybox.ps: docs/busybox.sgml
119 - mkdir -p docs
120 (cd docs; sgmltools -b ps busybox.sgml)
121
122docs/busybox.pdf: docs/busybox.ps
123 - mkdir -p docs
124 (cd docs; ps2pdf busybox.ps)
125
126docs/busybox/busyboxdocumentation.html: docs/busybox.sgml
127 - mkdir -p docs
128 (cd docs/busybox.net; sgmltools -b html ../busybox.sgml)
129
130# The nifty new buildsystem stuff 100# The nifty new buildsystem stuff
131scripts/mkdep: scripts/mkdep.c 101scripts/mkdep: scripts/mkdep.c
132 $(HOSTCC) $(HOSTCFLAGS) -o scripts/mkdep scripts/mkdep.c 102 $(HOSTCC) $(HOSTCFLAGS) -o scripts/mkdep scripts/mkdep.c
@@ -217,8 +187,8 @@ check: busybox
217 187
218clean: 188clean:
219 - $(MAKE) -C tests clean 189 - $(MAKE) -C tests clean
220 - rm -f docs/busybox.txt docs/busybox.dvi docs/busybox.ps \ 190 - rm -f docs/busybox.dvi docs/busybox.ps \
221 docs/busybox.pdf docs/busybox.pod docs/busybox.net/busybox.html \ 191 docs/busybox.pod docs/busybox.net/busybox.html \
222 docs/busybox pod2htm* *.gdb *.elf *~ core .*config.log \ 192 docs/busybox pod2htm* *.gdb *.elf *~ core .*config.log \
223 docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \ 193 docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \
224 docs/busybox.net/BusyBox.html busybox.links libbb/loop.h \ 194 docs/busybox.net/BusyBox.html busybox.links libbb/loop.h \