source: roaraudio/doc/Makefile @ 901:3a9e10db0043

Last change on this file since 901:3a9e10db0043 was 901:3a9e10db0043, checked in by phi, 15 years ago

added missing target clean

File size: 867 bytes
Line 
1include ../Makefile.conf
2
3all: symlinks
4clean:
5        echo Warning: no target clean for docs
6
7symlinks:
8        while read fn fc tn tc; do ln -s ../man$$tc/$$tn.$$tc man$$fc/$$fn.$$fc 2> /dev/null; done < symlinks.src; true
9
10symlinks-html: man2html
11        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
12
13man2html:
14        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'
15
16prep-install-dirs:
17        sh -c 'for dir in man*; do mkdir -p $(PREFIX_MAN)/$$dir; done'
18
19install: prep-install-dirs
20        sh -c 'for dir in man*; do cp $(cp_v) $$dir/*.?* $(PREFIX_MAN)/$$dir/; done'
21semi-install: prep-install-dirs
22        sh -c 'for dir in man*; do for file in $$dir/*.?*; do ln -fs `pwd`/$$file $(PREFIX_MAN)/$$dir/; done; done'
Note: See TracBrowser for help on using the repository browser.