Last change
on this file since 224 was
155,
checked in by tim, 15 years ago
|
work around for man page formatting problem
minor comment
|
-
Property svn:keywords set to
Id
|
File size:
1.4 KB
|
Line | |
---|
1 | # $Id: Makefile 155 2009-06-03 23:45:58Z tim $ |
---|
2 | |
---|
3 | BUILD_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 | |
---|
7 | default: $(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 | |
---|
21 | install: |
---|
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 |
---|
27 | release: |
---|
28 | #XXX: The sed filter is a temporary hack to work around a bug in docbook2x-man |
---|
29 | # See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516165 |
---|
30 | docbook2x-man --to-stdout reglookup.1.docbook | sed 's/.SH DESCRIPTION/\n.SH DESCRIPTION/' > man/man1/reglookup.1 |
---|
31 | docbook2x-man --to-stdout reglookup-timeline.1.docbook | sed 's/.SH DESCRIPTION/\n.SH DESCRIPTION/' > man/man1/reglookup-timeline.1 |
---|
32 | docbook2x-man --to-stdout reglookup-recover.1.docbook | sed 's/.SH DESCRIPTION/\n.SH DESCRIPTION/' > man/man1/reglookup-recover.1 |
---|
33 | cd man/man1 && gzip -9 -f reglookup.1 |
---|
34 | cd man/man1 && gzip -9 -f reglookup-timeline.1 |
---|
35 | cd man/man1 && gzip -9 -f reglookup-recover.1 |
---|
Note: See
TracBrowser
for help on using the repository browser.