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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
|
lang = it
glade_help_DATA = \
topic.dat
sgml_files = faq.sgml turbo-start.sgml user-guide.sgml
omffiles = faq-it.omf turbo-start-it.omf user-guide-it.omf
# Files that aren't in a binary/data/library target have to be listed here
# to be included in the tarball when you 'make dist'.
# We include the timestamp files so it won't even try to rebuild the docs
# unless you edit the SGML files.
EXTRA_DIST = \
$(sgml_files) \
$(omffiles) \
user-guide.stamp \
turbo-start.stamp \
faq.stamp \
topic.dat
omfstampfiles = user-guide-omf.stamp faq-omf.stamp turbo-start-omf.stamp
CLEANFILES = $(omfstampfiles)
glade_helpdir = $(datadir)/gnome/help/glade/$(lang)
omf_dir=$(top_srcdir)/omf-install
## The '-' before the command means to ignore it if it fails. That way
## people can still build the software without the docbook tools.
all: html omf
html: user-guide.stamp faq.stamp turbo-start.stamp
user-guide.stamp: user-guide.sgml
-db2html user-guide.sgml
@echo timestamp > user-guide.stamp 2> /dev/null
turbo-start.stamp: turbo-start.sgml
-db2html turbo-start.sgml
@echo timestamp > turbo-start.stamp 2> /dev/null
faq.stamp: faq.sgml
-db2html faq.sgml
@echo timestamp > faq.stamp 2> /dev/null
omf: $(omfstampfiles)
user-guide-omf.stamp: user-guide-it.omf
-for file in `ls user-guide-it.omf`; do \
scrollkeeper-preinstall $(glade_helpdir)/user-guide/user-guide.sgml $$file $(omf_dir)/$$file; \
done
touch user-guide-omf.stamp
faq-omf.stamp: faq-it.omf
-for file in `ls faq-it.omf`; do \
scrollkeeper-preinstall $(glade_helpdir)/faq/faq.sgml $$file $(omf_dir)/$$file; \
done
touch faq-omf.stamp
turbo-start-omf.stamp: turbo-start-it.omf
-for file in `ls turbo-start-it.omf`; do \
scrollkeeper-preinstall $(glade_helpdir)/turbo-start/turbo-start.sgml $$file $(omf_dir)/$$file; \
done
touch turbo-start-omf.stamp
# I haven't tested these yet.
user-guide.ps: user-guide.sgml
-db2ps $<
turbo-start.ps: turbo-start.sgml
-db2ps $<
faq.ps: faq.sgml
-db2ps $<
user-guide.rtf: user-guide.sgml
-db2rtf $<
turbo-start.rtf: turbo-start.sgml
-db2rtf $<
faq.rtf: faq.sgml
-db2rtf $<
## When we make dist, we include the generated HTML so people don't
## have to have the docbook tools.
dist-hook:
mkdir $(distdir)/user-guide
mkdir $(distdir)/user-guide-images
mkdir $(distdir)/faq
mkdir $(distdir)/turbo-start
-cp $(srcdir)/user-guide/*.html $(distdir)/user-guide
-cp $(srcdir)/user-guide-images/*.png $(distdir)/user-guide-images
-cp $(srcdir)/faq/*.html $(distdir)/faq
-cp $(srcdir)/turbo-start/*.html $(distdir)/turbo-start
install-data-local: omf
$(mkinstalldirs) $(DESTDIR)$(glade_helpdir)/user-guide/user-guide-images
-for file in $(srcdir)/user-guide/*.html $(srcdir)/user-guide.sgml; do \
basefile=`basename $$file`; \
$(INSTALL_DATA) $$file $(DESTDIR)$(glade_helpdir)/user-guide/$$basefile; \
done
-for file in $(srcdir)/user-guide-images/*.png; do \
basefile=`basename $$file`; \
$(INSTALL_DATA) $$file $(DESTDIR)$(glade_helpdir)/user-guide/user-guide-images/$$basefile; \
done
$(mkinstalldirs) $(DESTDIR)$(glade_helpdir)/faq
-for file in $(srcdir)/faq/*.html $(srcdir)/faq.sgml; do \
basefile=`basename $$file`; \
$(INSTALL_DATA) $$file $(DESTDIR)$(glade_helpdir)/faq/$$basefile; \
done
$(mkinstalldirs) $(DESTDIR)$(glade_helpdir)/turbo-start
-for file in $(srcdir)/turbo-start/*.html $(srcdir)/turbo-start.sgml; do \
basefile=`basename $$file`; \
$(INSTALL_DATA) $$file $(DESTDIR)$(glade_helpdir)/turbo-start/$$basefile; \
done
clean:
-rm -rf user-guide faq turbo-start
-rm -f user-guide.stamp faq.stamp turbo-start.stamp
-rm -rf user-guide.junk faq.junk turbo-start.junk
|