source: trunk/doc/Makefile @ 143

Last change on this file since 143 was 119, checked in by tim, 16 years ago

adding reglookup-recover man page

  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Makefile 119 2008-08-09 05:55:45Z tim $
2
3BUILD_FILES=$(BUILD_DOC)/man/man1/reglookup.1.gz\
4        $(BUILD_DOC)/man/man1/reglookup-timeline.1.gz\
5        $(BUILD_DOC)/man/man1/reglookup-recover.1.gz
6
7default: $(BUILD_FILES)
8
9$(BUILD_DOC)/man/man1:
10        mkdir -p $(BUILD_DOC)/man/man1
11
12$(BUILD_DOC)/man/man1/reglookup.1.gz: man/man1/reglookup.1.gz $(BUILD_DOC)/man/man1
13        cp man/man1/reglookup.1.gz $@
14
15$(BUILD_DOC)/man/man1/reglookup-timeline.1.gz: man/man1/reglookup-timeline.1.gz $(BUILD_DOC)/man/man1
16        cp man/man1/reglookup-timeline.1.gz $@
17
18$(BUILD_DOC)/man/man1/reglookup-recover.1.gz: man/man1/reglookup-recover.1.gz $(BUILD_DOC)/man/man1
19        cp man/man1/reglookup-recover.1.gz $@
20
21install:
22        cp -r $(BUILD_DOC)/* $(DOC_PREFIX)
23        ln -sf $(DOC_PREFIX)/man/man1/*  $(MAN_PREFIX)/man1
24
25
26#XXX: Used during release only
27release:
28        docbook2x-man --to-stdout reglookup.1.docbook > man/man1/reglookup.1
29        docbook2x-man --to-stdout reglookup-timeline.1.docbook > man/man1/reglookup-timeline.1
30        docbook2x-man --to-stdout reglookup-recover.1.docbook > man/man1/reglookup-recover.1
31        cd man/man1 && gzip -9 -f reglookup.1
32        cd man/man1 && gzip -9 -f reglookup-timeline.1
33        cd man/man1 && gzip -9 -f reglookup-recover.1
Note: See TracBrowser for help on using the repository browser.