diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2010-06-28 19:30:01 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2010-06-28 19:30:01 +0200 |
commit | 220ae4e9daec573921542e408e489f8d270fffa0 (patch) | |
tree | e244e0e0881f5d88d6997477567d10b2b1457c68 | |
parent | 9d115d7fa254a1e40755993fa4569b8f42829211 (diff) | |
download | attr-220ae4e9daec573921542e408e489f8d270fffa0.tar.gz |
Ugly hack to convert the man pages into html
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -114,3 +114,10 @@ realclean distclean: clean .PHONY: tests root-tests ext-tests tests root-tests ext-tests: default $(MAKE) -C test/ $@ + +# HACK: Convert the man pages into html +html: + @for man in $$(find man -name '*.[1-9]'); do \ + echo $${man%.*}.html ; \ + groff -man -Thtml -P-h -P-l $$man > $${man%.*}.html; \ + done |