diff options
Diffstat (limited to 'calendar/doc/C/Makefile.am')
-rw-r--r-- | calendar/doc/C/Makefile.am | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/calendar/doc/C/Makefile.am b/calendar/doc/C/Makefile.am new file mode 100644 index 0000000000..be6533d715 --- /dev/null +++ b/calendar/doc/C/Makefile.am @@ -0,0 +1,44 @@ +gnomecal_helpdir = $(datadir)/gnome/help/gnomecal/C + +gnomecal_help_DATA = \ + gnomecal.html \ + topic.dat + +SGML_FILES = \ + gnomecal.sgml + +EXTRA_DIST = \ + topic.dat \ + $(SGML_FILES) + +all: + +gnomecal.html: gnomecal/gnomecal.html + -cp gnomecal/gnomecal.html . + +gnomecal/gnomecal.html: $(SGML_FILES) + -db2html gnomecal.sgml + +dist-hook: + mkdir $(distdir)/gnomecal + -cp gnomecal/*.html gnomecal/*.css $(distdir)/gnomecal + -cp gnomecal.html $(distdir) + mkdir $(distdir)/images + -cp images/*.gif images/*.jpg $(distdir)/images + +install-data-local: gnomecal.html + $(mkinstalldirs) $(gnomecal_helpdir)/images + -for file in $(srcdir)/gnomecal/*.html $(srcdir)/gnomecal/*.css; do \ + basefile=`basename $$file`; \ + $(INSTALL_DATA) $(srcdir)/$$file $(gnomecal_helpdir)/$$basefile; \ + done + -for file in $(srcdir)/images/*.jpg $(srcdir)/images/*.gif; do \ + $(INSTALL_DATA) $(srcdir)/$$file $(gnomecal_helpdir)/images;\ + done + +gnomecal.ps: gnomecal.sgml + -db2ps $< + +gnomecal.rtf: gnomecal.sgml + -db2rtf $< + |