blob: f7bbc970acbc6b378e6faee7b9b3b63884f4865b (
plain) (
tree)
|
|
evolution_helpdir = $(datadir)/gnome/help/evolution/C
GUIDE_SGML_FILES = \
evolution.sgml \
apx-authors.sgml \
apx-bugs.sgml \
apx-gloss.sgml \
config-prefs.sgml \
config-sync.sgml \
preface.sgml \
usage-calendar.sgml \
usage-contact.sgml \
usage-mail.sgml \
usage-mainwindow.sgml \
usage-sync.sgml
FAQ_SGML_FILES = \
evolution-faq.sgml
EXTRA_DIST = \
$(FAQ_SGML_FILES) \
$(GUIDE_SGML_FILES)
all: evolution-guide evolution-faq
evolution-guide: $(GUIDE_SGML_FILES)
-db2html $(srcdir)/evolution.sgml
evolution-faq: $(FAQ_SGML_FILES)
-db2html $(srcdir)/evolution-faq.sgml
dist-hook:
mkdir $(distdir)/fig
mkdir $(distdir)/evolution
mkdir $(distdir)/evolution/stylesheet-images
files=`echo $(srcdir)/evolution/*.html` ; \
test '$(srcdir)/evolution/*.html' = "$$files" \
|| cp $$files $(distdir)/evolution
files=`echo $(srcdir)/evolution/*.css` ; \
test '$(srcdir)/evolution/*.css' = "$$files" \
|| cp $$files $(distdir)/evolution
files=`echo $(srcdir)/fig/*.png` ; \
test '$(srcdir)/fig/*.png' = "$$files" \
|| cp $$files $(distdir)/evolution
files=`echo $(srcdir)/evolution/stylesheet-images/*` ; \
test '$(srcdir)/evolution/stylesheet-images/*' = "$$files" \
|| cp $$files $(distdir)/evolution
# FIXME really messy here
install-data-local: evolution-guide evolution-faq
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(evolution_helpdir)/evolution-guide
-for file in $(srcdir)/evolution/*.html $(srcdir)/evolution/*.css; do \
basefile=`basename $$file`; \
$(INSTALL_DATA) $$file $(DESTDIR)$(evolution_helpdir)/evolution-guide/$$basefile; \
done
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(evolution_helpdir)/evolution-faq
-for file in $(srcdir)/evolution-faq/*.html $(srcdir)/evolution-faq/*.css; do \
basefile=`basename $$file`; \
$(INSTALL_DATA) $$file $(DESTDIR)$(evolution_helpdir)/evolution-faq/$$basefile; \
done
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(evolution_helpdir)/evolution-guide/fig
-for file in $(srcdir)/fig/*.png; do \
basefile=`basename $$file`; \
$(INSTALL_DATA) $$file $(DESTDIR)$(evolution_helpdir)/evolution-guide/fig/$$basefile; \
done
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(evolution_helpdir)/evolution-guide/stylesheet-images
-for file in $(srcdir)/evolution/stylesheet-images/*; do \
basefile=`basename $$file`; \
$(INSTALL_DATA) $$file $(DESTDIR)$(evolution_helpdir)/evolution-guide/stylesheet-images/$$basefile; \
done
evolution.ps: evolution.sgml
-db2ps $<
evolution.rtf: evolution.sgml
-db2rtf $<
|