work on html output of manpages

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-20 22:41:22 +01:00
parent bd939567ad
commit 8722c03c12
3 changed files with 7 additions and 3 deletions

View file

@ -80,7 +80,11 @@ manmove: mantype mancore
done
mkdir -p doc/html
mv doc/man/*.html doc/html
mv conf/type/*/man
for mantype in conf/type/*/man.html; do \
mannew=$$(echo $$mantype | sed -e 's;conf/;cdist-;' -e 's;/;;' -e 's;/man;;');\
mv $$mantype doc/html/$$mannew; \
done
# Reference depends on conf/type/*/man.text - HOWTO with posix make?
$(MANDIR)/cdist-reference.text: manmove $(MANDIR)/cdist-reference.text.sh
@ -92,7 +96,7 @@ $(MANDIR)/cdist-reference.text: manmove $(MANDIR)/cdist-reference.text.sh
clean:
rm -rf doc/man/*.html doc/man/*.[1-9] doc/man/man[1-9] $(MANGENERATED)
rm -f conf/type/*/man.html conf/type/*/docbook-xsl.css
rm -f conf/type/*/man.html
################################################################################
# Developer targets

View file

@ -0,0 +1 @@
- Ensure html output of manpages are published on the web

View file

@ -15,4 +15,3 @@ Documentation:
- hint: http://protempore.net/~calvins/howto/ssh-connection-sharing/
- Different environments (production, integration, development)
- via version control
- Ensure html output of manpages are published on the web