More doc updates for BusyBox, with fixes to apps for bugs revealed
while trying to write docs . :-)
-Erik
diff --git a/docs/Makefile b/docs/Makefile
new file mode 100644
index 0000000..aebe8a8
--- /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
+