-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
49 lines (39 loc) · 1.61 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
docdir = $(datadir)/doc/rblcheck
EXTRA_DIST = rblcheck.sgml
DISTCLEANFILES = rblcheck.ps rblcheck.rtf rblcheck.txt html/*.html
MAINTAINERCLEANFILES = Makefile.in
html/index.html: rblcheck.sgml
srcdir=`cd $(srcdir) && pwd`; \
db2html $$srcdir/rblcheck.sgml
mv rblcheck html
rblcheck.ps: rblcheck.sgml
srcdir=`cd $(srcdir) && pwd`; \
dockbook2ps $$srcdir/rblcheck.sgml
rblcheck.rtf: rblcheck.sgml
srcdir=`cd $(srcdir) && pwd`; \
dockbook2rtf $$srcdir/rblcheck.sgml
rblcheck.txt: rblcheck.sgml
srcdir=`cd $(srcdir) && pwd`; \
docbook2txt $$srcdir/rblcheck.sgml
dist-hook: html/index.html rblcheck.ps rblcheck.rtf rblcheck.txt
$(mkinstalldirs) $(distdir)/html
cp $(srcdir)/html/*.html $(distdir)/html
cp $(srcdir)/rblcheck.ps $(distdir)/rblcheck.ps
cp $(srcdir)/rblcheck.rtf $(distdir)/rblcheck.rtf
cp $(srcdir)/rblcheck.txt $(distdir)/rblcheck.txt
distclean-local:
-rmdir html
# Only build the .txt documentation until somebody can update this makefile
# to modern standards.
install-data-local: rblcheck.txt
$(mkinstalldirs) $(DESTDIR)$(docdir)
$(INSTALL_DATA) $(srcdir)/rblcheck.txt $(DESTDIR)$(docdir)/rblcheck.txt
DISABLED_install-data-local: html/index.html rblcheck.ps rblcheck.rtf rblcheck.txt
$(mkinstalldirs) $(DESTDIR)$(docdir)/html
for file in $(srcdir)/html/*.html; do \
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
$(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/html/$$basefile; \
done
$(INSTALL_DATA) $(srcdir)/rblcheck.ps $(DESTDIR)$(docdir)/rblcheck.ps
$(INSTALL_DATA) $(srcdir)/rblcheck.rtf $(DESTDIR)$(docdir)/rblcheck.rtf
$(INSTALL_DATA) $(srcdir)/rblcheck.txt $(DESTDIR)$(docdir)/rblcheck.txt