aboutsummaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/Makefile b/docs/Makefile
new file mode 100644
index 000000000..aebe8a847
--- /dev/null
+++ b/docs/Makefile
@@ -0,0 +1,22 @@
1# busybox/docs/Makefile - Create the documentation
2# ------------------------
3# Copyright (C) 2000 Erik Andersen <andersee@debian.org> GPL
4
5all:: clean doc
6
7doc:
8 @echo
9 @echo BusyBox Documentation
10 @echo
11 pod2html busybox.pod > ../BusyBox.html
12 @rm pod2html-*
13 pod2man --center=BusyBox --release="version $(VERSION)" busybox.pod > ../BusyBox.1
14 pod2text busybox.pod > ../BusyBox.txt
15
16clean::
17 @rm -f ../BusyBox.html ../BusyBox.1 ../BusyBox.txt pod2html*
18
19distclean: clean
20
21.PHONY: all clean distclean doc
22