was given on the command line.
- Drop $CMDLINE from grml-autoconfig; it's initialized from within
autoconfig.functions.
+ - Moved documentation from grml-saveconfig (now AKA grml-autoconfig.txt)
+ and adjusted for new DSC feature.
* Set $CMDLINE in $BOOTDEBUG part only if it's not available yet.
* Code cleanup:
- drop stringinstring(), stringinfile() and checkgrmlusb()
- rework getbootparam(), checkvalue() and checkbootparam() - now
we handle bootoptions in /proc/cmdline correctly as whole words
and support matching begin and end of line as well.
+ * Build-Depends-Indep on asciidoc, docbook-xsl and xsltproc.
- -- Michael Prokop <mika@grml.org> Tue, 11 Aug 2009 13:03:38 +0200
+ -- Michael Prokop <mika@grml.org> Thu, 13 Aug 2009 01:54:52 +0200
grml-autoconfig (0.8.24) unstable; urgency=low
Maintainer: Michael Prokop <mika@grml.org>
Build-Depends: debhelper (>= 5)
Standards-Version: 3.8.2
+Build-Depends-Indep: asciidoc, docbook-xsl, xsltproc
Homepage: http://git.grml.org/?p=grml-autoconfig.git
Vcs-git: git://git.grml.org/grml-autoconfig.git
Vcs-Browser: http://git.grml.org/?p=grml-autoconfig.git
build-stamp:
dh_testdir
+ cd doc && $(MAKE) && cd ..
touch build-stamp
dh_testdir
dh_testroot
dh_clean -k
+ cd doc && $(MAKE) clean && cd ..
dh_installdirs etc/grml etc/init.d usr/sbin usr/bin
# Add here commands to install the package into debian/grml-autoconfig.
--- /dev/null
+%.html : %.txt ;
+ asciidoc -b xhtml11 $^
+
+%.gz : %.txt ;
+ asciidoc -d manpage -b docbook $^
+ #sed -i 's/<emphasis role="strong">/<emphasis role="bold">/g' `echo $^ |sed -e 's/.txt/.xml/'`
+ xsltproc -nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl `echo $^ |sed -e 's/.txt/.xml/'` &>/dev/null
+ # ugly hack to avoid '.sp' at the end of a sentence or paragraph:
+ sed -i 's/\.sp//' `echo $^ | sed -e 's/.txt//'`
+ gzip -f --best `echo $^ |sed -e 's/.txt//'`
+
+MANPAGES = grml-autoconfig
+
+all: doc
+
+doc: doc_html
+# doc: doc_man doc_html
+doc_html: $(addsuffix .html, $(MANPAGES))
+doc_man: $(addsuffix .gz, $(MANPAGES))
+
+clean:
+ @for i in $(MANPAGES); do \
+ rm -f $$i.html $$i.xml $$i.gz $$i; done
+