source: roaraudio/doc/Makefile @ 2733:b2c3487bf1d4

Last change on this file since 2733:b2c3487bf1d4 was 2733:b2c3487bf1d4, checked in by phi, 15 years ago

target name

File size: 897 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 $(DESTDIR)$(PREFIX_MAN)/$$dir; done'
18
19install: prep-install-dirs
20        sh -c 'for dir in man*; do cp $(cp_v) $$dir/*.?* $(DESTDIR)$(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 $(DESTDIR)$(PREFIX_MAN)/$$dir/; done; done'
Note: See TracBrowser for help on using the repository browser.