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 @@
+# busybox/docs/Makefile - Create the documentation
+# ------------------------
+# Copyright (C) 2000 Erik Andersen <andersee@debian.org> GPL
+
+all:: clean doc
+
+doc:
+ @echo
+ @echo BusyBox Documentation
+ @echo
+ pod2html busybox.pod > ../BusyBox.html
+ @rm pod2html-*
+ pod2man --center=BusyBox --release="version $(VERSION)" busybox.pod > ../BusyBox.1
+ pod2text busybox.pod > ../BusyBox.txt
+
+clean::
+ @rm -f ../BusyBox.html ../BusyBox.1 ../BusyBox.txt pod2html*
+
+distclean: clean
+
+.PHONY: all clean distclean doc
+