summaryrefslogtreecommitdiff
path: root/xmldocs.make
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2008-06-22 14:59:45 +0000
committerHans Breuer <hans@src.gnome.org>2008-06-22 14:59:45 +0000
commit0e57f7de313403b11b0d00c0576cf8da8715e65f (patch)
treee3adb5dc9082b4e1c2596136ae5f6b2298a11844 /xmldocs.make
parenta44bb79e906dee92da1228bcf54d227d60fc9273 (diff)
downloaddia-0e57f7de313403b11b0d00c0576cf8da8715e65f.tar.xz
[Patch from Thomas Harding improving the documentation generation] moved
2008-06-22 Hans Breuer <hans@breuer.org> [Patch from Thomas Harding improving the documentation generation] * doc/*/hardcopies.makefile : moved to $(top) directory * hardcopies.make : now uses dblatex or fallback on jw (jade/openjade wrapper). * doc/*/README.hardcopies : removed, now handled by configure * configure.in : check for and do documentation generation when given --with-hardbooks * doc/**/*.xml : dropping HTML entities, making dia-1.xml independent from dia-cmdline.xml, dropping file extension from graphics * doc/*dia-dbk-to-chapter.sed: removed leftovers from previous doc patch (was too fragile) * doc/html/images/caution.svg doc/html/images/important.svg doc/html/images/note.svg doc/html/images/tip.svg doc/html/images/prev.svg doc/html/images/home.svg doc/html/images/next.svg doc/html/images/warning.svg doc/html/images/up.svg doc/html/css/dia.css: new files - images for admonitions and callouts (for html version) * doc/fr/dia.xml: switched encoding to utf8 (more versatile for inexperienced maintainers (needs no entities for specific glyphs such as ISO entity "oelig" or "laquo"...) * doc/pl/*.xml: updated some from *.sgml, corrected encoding to iso-8859-2. Corrected graphics "filetype" attribute to uppercase "PNG". * Adding Changelog-tmp, which may be dropped at any time. * doc/*/dia-*.omf: make indexation really works with scrollkeeper (which extends omf format). Now yelp shows dia manual in its TOC/whatever. * doc/(en|fr)/dia-cmdline.xml : added from my working copy, not sure where it came from ;) The 'fr' version needs translation. * doc/Makefile.am : temporary disabled due to build problems * doc/*/*.dia : svn mv doc/en/dia.dia ../samples/Self/ svn rm fr/dia.dia - there is no relation to the rest of docs * doc/hardcopies.make : don't (un)install-examples svn path=/trunk/; revision=4070
Diffstat (limited to 'xmldocs.make')
-rw-r--r--xmldocs.make23
1 files changed, 8 insertions, 15 deletions
diff --git a/xmldocs.make b/xmldocs.make
index 7806396e..e2940442 100644
--- a/xmldocs.make
+++ b/xmldocs.make
@@ -49,8 +49,7 @@ EXTRA_DIST = $(xml_files) $(omffile)
CLEANFILES = omf_timestamp
include $(top_srcdir)/omf.make
-
-all: omf
+include $(top_srcdir)/hardcopies.make
$(docname).xml: $(entities)
-ourdir=`pwd`; \
@@ -66,7 +65,7 @@ app-dist-hook:
done \
fi
-install-data-local: omf
+install-data-xml: omf
$(mkinstalldirs) $(DESTDIR)$(helpdocdir)
for file in $(xml_files); do \
cp $(srcdir)/$$file $(DESTDIR)$(helpdocdir); \
@@ -81,19 +80,13 @@ install-data-local: omf
install-data-hook: install-data-hook-omf
-uninstall-local: uninstall-local-doc uninstall-local-omf
+uninstall-local-xml: uninstall-local-doc uninstall-local-omf
uninstall-local-doc:
- -if test "$(figdir)"; then \
- for file in $(srcdir)/$(figdir)/*.png; do \
- basefile=`echo $$file | sed -e 's,^.*/,,'`; \
- rm -f $(DESTDIR)$(helpdocdir)/$(figdir)/$$basefile; \
- done; \
- rmdir $(DESTDIR)$(helpdocdir)/$(figdir); \
- fi
- -for file in $(xml_files); do \
- rm -f $(DESTDIR)$(helpdocdir)/$$file; \
- done
+ -rm -f $(DESTDIR)$(helpdocdir)/$(figdir)/*
+ -rmdir $(DESTDIR)$(helpdocdir)/$(figdir)
+ -rm -f $(DESTDIR)$(helpdocdir)/*
+ -rmdir $(DESTDIR)$(helpdocdir)/*
-rmdir $(DESTDIR)$(helpdocdir)
-clean-local: clean-local-omf
+clean-local-xml: clean-local-omf