source: roaraudio/doc/Makefile @ 227:65a0f2f0f6d6

Last change on this file since 227:65a0f2f0f6d6 was 227:65a0f2f0f6d6, checked in by phi, 16 years ago

added Makefile to create HTML docs and symlinks

File size: 486 bytes
Line 
1all: symlinks man2html symlinks-html
2
3symlinks:
4        while read fn fc tn tc; do ln -s ../man$$tc/$$tn.$$tc man$$fc/$$fn.$$fc 2> /dev/null; done < symlinks.src; true
5
6symlinks-html: man2html
7        while read fn fc tn tc; do ln -s ../../html/man$$tc/$$tn.$$tc.html html/man$$fc/$$fn.$$fc.html 2> /dev/null; done < symlinks.src; true
8
9man2html:
10        sh -c 'for dir in man*; do (cd $$dir; mkdir ../html/$$dir 2>/dev/null; for file in *.?; do man2html -r $$file > ../html/$$dir/$$file.html; done); done'
Note: See TracBrowser for help on using the repository browser.