root/src/man/Makefile.in

Revision 5fbae1c5f1c2705b03bebf8e1f04b9cdf1b8e7a0, 1.5 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 4 years ago)

distclean from Marti Raudsepp

  • Property mode set to 100644
Line 
1 INSTALL=@INSTALL@
2 XML2H=@top_srcdir@/buildtools/xml2h
3 XSLTPROC=@XSLTPROC@
4 NROFF=@NROFF@
5
6 prefix=@prefix@
7 exec_prefix=@exec_prefix@
8 bindir=@bindir@
9 sbindir=@sbindir@
10 libdir=@libdir@
11 includedir=${prefix}/include
12 libexecdir=@libexecdir@
13 datarootdir = @datarootdir@
14 mandir=@mandir@
15 mansubdir=@mansubdir@
16 docdir=${prefix}/@docdir@
17 sysconfdir=@sysconfdir@
18 srcdir=@srcdir@
19 top_srcdir=@top_srcdir@
20
21 all:    noitd.8 noitd.usage.h \
22         stratcond.8 stratcond.usage.h
23
24 noitd.8:        $(top_srcdir)/docs/executable/noitd.xml
25         @echo " - manifying $@"
26         @$(XSLTPROC) --nonet \
27                 $(top_srcdir)/docs/docbook-xsl/manpages/docbook.xsl \
28                 $(top_srcdir)/docs/executable/noitd.xml > /dev/null 2>&1
29
30 noitd.usage.h:  noitd.8
31         @echo " - creating $@"
32         @$(NROFF)  -man ./noitd.8 | \
33                 $(top_srcdir)/buildtools/xml2h NOITD_USAGE > $@
34
35 stratcond.8:    $(top_srcdir)/docs/executable/stratcond.xml
36         @echo " - manifying $@"
37         @$(XSLTPROC) --nonet \
38                 $(top_srcdir)/docs/docbook-xsl/manpages/docbook.xsl \
39                 $(top_srcdir)/docs/executable/stratcond.xml > /dev/null 2>&1
40
41 stratcond.usage.h:      stratcond.8
42         @echo " - creating $@"
43         @$(NROFF)  -man ./stratcond.8 | \
44                 $(top_srcdir)/buildtools/xml2h STRATCOND_USAGE > $@
45
46 install:        all
47         $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(mandir)
48         $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)8
49         $(INSTALL) -m 0644 noitd.8 $(DESTDIR)$(mandir)/$(mansubdir)8/noitd.8
50         $(INSTALL) -m 0644 stratcond.8 $(DESTDIR)$(mandir)/$(mansubdir)8/stratcond.8
51
52 clean:
53         rm -f noitd.8 noitd.usage.h stratcond.8 stratcond.usage.h
54
55 distclean:
56         rm -f Makefile
Note: See TracBrowser for help on using the browser.