From 29a3e72881d3874ffaa4fd6dfce679239ea60bf8 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 1 Jun 2000 23:37:49 +0000 Subject: build and install docs svn path=/trunk/; revision=3345 --- doc/.cvsignore | 2 +- doc/C/.cvsignore | 2 ++ doc/C/Makefile.am | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ doc/ChangeLog | 9 +++++++++ doc/Makefile.am | 1 + 5 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 doc/C/.cvsignore create mode 100644 doc/C/Makefile.am create mode 100644 doc/Makefile.am (limited to 'doc') diff --git a/doc/.cvsignore b/doc/.cvsignore index 550bd25cdb..282522db03 100644 --- a/doc/.cvsignore +++ b/doc/.cvsignore @@ -1,2 +1,2 @@ Makefile - +Makefile.in diff --git a/doc/C/.cvsignore b/doc/C/.cvsignore new file mode 100644 index 0000000000..282522db03 --- /dev/null +++ b/doc/C/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/doc/C/Makefile.am b/doc/C/Makefile.am new file mode 100644 index 0000000000..d898720044 --- /dev/null +++ b/doc/C/Makefile.am @@ -0,0 +1,54 @@ +evolution_helpdir = $(datadir)/gnome/help/evolution/C + +SGML_FILES = \ + apx-authors.sgml \ + apx-bugs.sgml \ + apx-fdl.sgml \ + apx-gloss.sgml \ + config-prefs.sgml \ + config-setupassist.sgml \ + config-sync.sgml \ + devel-action.sgml \ + devel-component.sgml \ + devel-script.sgml \ + evolution-guide.sgml \ + preface.sgml \ + usage-calendar.sgml \ + usage-contact.sgml \ + usage-mail.sgml \ + usage-mainwindow.sgml \ + usage-sync.sgml + + +EXTRA_DIST = \ + $(SGML_FILES) + +all: evolution-guide + +evolution-guide: $(SGML_FILES) + -db2html evolution-guide.sgml + +dist-hook: + mkdir $(distdir)/evolution-guide + -cp evolution-guide/*.html evolution-guide/*.css \ + $(distdir)/evolution-guide + mkdir $(distdir)/fig + -cp fig/*.png $(distdir)/fig + +install-data-local: evolution-guide + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(evolution_helpdir)/fig + -for file in $(srcdir)/evolution-guide/*.html $(srcdir)/evolution-guide/*.css; do \ + basefile=`basename $$file`; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(evolution_helpdir)/$$basefile; \ + done + -for file in $(srcdir)/fig/*.png; do \ + basefile=`basename $$file`; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(evolution_helpdir)/fig/$$basefile; \ + done + +evolution.ps: evolution.sgml + -db2ps $< + +evolution.rtf: evolution.sgml + -db2rtf $< + diff --git a/doc/ChangeLog b/doc/ChangeLog index c827b12ec9..c7186f0414 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,12 @@ +2000-06-01 Dan Winship + + * Makefile.am: recurse into the C directory + + * C/Makefile.am: Rules to build and install the docs. Mostly + stolen from gnomecal. Only works if you have GDP stuff + (http://www.gnome.org/gdp/) set up on your machine, but won't make + the build fail if you don't. + 2000-05-29 Aaron Weber * C/usage-contact.sgml: incorporated kevins notes. diff --git a/doc/Makefile.am b/doc/Makefile.am new file mode 100644 index 0000000000..42ffacc264 --- /dev/null +++ b/doc/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = C -- cgit v1.2.3