2000-11-29 Federico Mena Quintero <federico@helixcode.com> * evolution-devel-guide.sgml: Added an id for the API reference <part>. Added the FDL <legalnotice>. Added the preface and toplevel reference entities. Added entities for Evolution, Wombat, and Camel. Added an appendix for the GNU FDL. * preface.sgml: New file with the introduction to the Evolution Developer's Guide. * reference.sgml: Split the toplevel reference part into its own file. * fdl.sgml: Added the GNU Free Documentation License. * calendar/evolution-calendar.sgml: Added an id for the <part>. * calendar/public-reference.sgml: Added an id for the <reference>. Moved this file over from calendar/reference.sgml. * Makefile.am (local_entities): Added a list of the SGML files that define entities for inclusion in the toplevel document. This way we can track documentation file dependencies down to all levels. (html/index.html): Made the toplevel document depend on $(local_entities). Also, removed the "html" target and put its contents directly here; this way we avoid having .PHONY targets. (EXTRA_DIST): Removed the evolution_devel_guideDATA; it made no sense. (content_files): Added preface.sgml and reference.sgml. svn path=/trunk/; revision=6715
77 lines
2.0 KiB
Makefile
77 lines
2.0 KiB
Makefile
SUBDIRS = calendar
|
|
|
|
# The name of the module.
|
|
DOC_MODULE=evolution-devel-guide
|
|
|
|
# The top-level SGML file.
|
|
DOC_MAIN_SGML_FILE=evolution-devel-guide.sgml
|
|
|
|
HTML_DIR=$(datadir)/gnome/html
|
|
|
|
TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
|
|
|
|
# Add your toplevel files here
|
|
|
|
content_files = \
|
|
evolution-devel-guide.sgml \
|
|
fdl.sgml \
|
|
preface.sgml \
|
|
reference.sgml
|
|
|
|
# Add your module's hand-written and auto-generated files here; these
|
|
# are used for dependency tracking.
|
|
|
|
local_entities = \
|
|
calendar/architecture.sgml \
|
|
calendar/evolution-calendar.sgml \
|
|
calendar/public-reference.sgml \
|
|
\
|
|
calendar/cal-client/sgml/cal-client.sgml \
|
|
\
|
|
calendar/cal-util/sgml/cal-component.sgml \
|
|
calendar/cal-util/sgml/cal-recur.sgml \
|
|
calendar/cal-util/sgml/cal-util.sgml \
|
|
calendar/cal-util/sgml/timeutil.sgml
|
|
|
|
EXTRA_DIST = \
|
|
$(content_files)
|
|
|
|
all: evolution-devel-guide.html
|
|
|
|
if ENABLE_GTK_DOC
|
|
evolution-devel-guide.html: html/index.html
|
|
-cd $(srcdir) && cp html/index.html evolution-devel-guide.html
|
|
else
|
|
evolution-devel-guide.html:
|
|
endif
|
|
|
|
html/index.html: $(content_files) $(local_entities)
|
|
test -d $(srcdir)/html || mkdir $(srcdir)/html
|
|
-cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
|
|
|
|
clean-local:
|
|
rm -f *~ *.bak *.signals *-unused.txt
|
|
|
|
maintainer-clean-local:
|
|
cd $(srcdir) && rm -rf html
|
|
|
|
install-data-local:
|
|
$(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)
|
|
(installfiles=`echo $(srcdir)/html/*.html`; \
|
|
if test "$$installfiles" = '$(srcdir)/html/*.html'; \
|
|
then echo '-- Nothing to install' ; \
|
|
else \
|
|
for i in $$installfiles; do \
|
|
echo '-- Installing '$$i ; \
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
|
|
done; \
|
|
echo '-- Installing $(srcdir)/html/index.sgml' ; \
|
|
$(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \
|
|
echo '-- Fixing Crossreferences' ; \
|
|
gtkdoc-fixxref --module=$(DOC_MODULE) --html-dir=$(HTML_DIR)|| true; \
|
|
fi)
|
|
|
|
dist-hook:
|
|
mkdir $(distdir)/html
|
|
-cp $(srcdir)/html/*.html $(srcdir)/html/*.css $(distdir)/html
|