From 6b4c974d5a1a8d12831a6b0de72104368851b5a7 Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Sun, 4 Mar 2012 00:34:18 +0100 Subject: Overhaul of documentation - Documentation now uses asciidoc instead of pandoc. - Documentation is updated. - More documentation is installed. - The Makefile has been revised. - Autocompletion files must now be installed through the PKGBUILD. - contrib/11netcfg has been deleted. It is unmaintained and duplicated in pm-utils. This closes FS#25587. - contrib/common.hook has been deleted. It demonstrated a feature that the target audience is already familiar with and didn't work anyway. This closes FS#27496. Developers are free to write unwieldy scripts in the {PRE,POST}_{UP,DOWN} variables. --- docs/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docs/Makefile (limited to 'docs/Makefile') diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 0000000..5e434a3 --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,18 @@ +# Makefile for netcfg documentation + +MANPAGES = netcfg.8 netcfg-profiles.5 +WEBPAGES = index.html features.html $(MANPAGES:%=%.html) + +.PHONY: all clean + +all: $(MANPAGES) $(WEBPAGES) + +$(MANPAGES): %: %.txt footer.txt + a2x -d manpage -f manpage -a manversion=$(VERSION) $< + +$(WEBPAGES): %.html: %.txt + asciidoc -a version=$(VERSION) $< + +clean: + -@rm -vf $(MANPAGES) $(WEBPAGES) 2>/dev/null + -- cgit v1.2.3-24-g4f1b