Line | |
---|
1 | all: symlinks |
---|
2 | |
---|
3 | symlinks: |
---|
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 | |
---|
6 | symlinks-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 | |
---|
9 | man2html: |
---|
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.