blob: d16a1d8f6afd6ae77fd00b2806894f647ef08306 (
plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
helpdir = $(datadir)/gnome/help/$(docname)/$(lang)
help_DATA = \
index.html
#Scrollkeeper related stuff
omf_dir=$(top_srcdir)/omf-install
EXTRA_DIST = $(docname).sgml $(help_DATA) $(omffiles) $(figs)
CLEANFILES = omf_timestamp
all: index.html omf
omf: omf_timestamp
omf_timestamp: $(omffiles)
-for omffile in $(omffiles); do \
scrollkeeper-preinstall $(helpdir)/$(docname).sgml $$omffile $(omf_dir)/$$omffile; \
done
touch omf_timestamp
index.html: $(docname)/index.html
-cp $(docname)/index.html .
# the wierd srcdir trick is because the db2html from the Cygnus RPMs
# cannot handle relative filenames
$(docname)/index.html: $(srcdir)/$(docname).sgml
-srcdir=`cd $(srcdir) && pwd`; \
db2html $$srcdir/$(docname).sgml
app-dist-hook: index.html
-$(mkinstalldirs) $(distdir)/$(docname)/stylesheet-images
-$(mkinstalldirs) $(distdir)/figures
-cp $(srcdir)/$(docname)/*.html $(distdir)/$(docname)
-cp $(srcdir)/$(docname)/*.css $(distdir)/$(docname)
-cp $(srcdir)/$(docname)/stylesheet-images/*.gif \
$(distdir)/$(docname)/stylesheet-images
-cp $(srcdir)/figures/*.png \
$(distdir)/figures
install-data-am: index.html omf
-$(mkinstalldirs) $(DESTDIR)$(helpdir)/stylesheet-images
-$(mkinstalldirs) $(DESTDIR)$(helpdir)/figures
-cp $(srcdir)/$(docname).sgml $(DESTDIR)$(helpdir)
-for file in $(srcdir)/$(docname)/*.html $(srcdir)/$(docname)/*.css; do \
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
$(INSTALL_DATA) $$file $(DESTDIR)$(helpdir)/$$basefile; \
done
-for file in $(srcdir)/figures/*.png; do \
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
$(INSTALL_DATA) $$file $(DESTDIR)$(helpdir)/figures/$$basefile; \
done
-for file in $(srcdir)/$(docname)/stylesheet-images/*.gif; do \
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
$(INSTALL_DATA) $$file $(DESTDIR)$(helpdir)/stylesheet-images/$$basefile; \
done
$(docname).ps: $(srcdir)/$(docname).sgml
-srcdir=`cd $(srcdir) && pwd`; \
db2ps $$srcdir/$(docname).sgml
$(docname).rtf: $(srcdir)/$(docname).sgml
-srcdir=`cd $(srcdir) && pwd`; \
db2ps $$srcdir/$(docname).sgml
|