diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-10-26 10:44:39 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-10-26 10:44:39 +0000 |
commit | 65755ffce4852d5ddefe3b77bb4f2cbf76fadbfe (patch) | |
tree | ea34fa4f5c1e2bfd1ea5c32f35748a1d05306dd3 /doc/hackersguide/Makefile.am | |
parent | 427b48a2961792a5fd385bde5f1cc54320870b2c (diff) | |
download | xine-lib-65755ffce4852d5ddefe3b77bb4f2cbf76fadbfe.tar.gz xine-lib-65755ffce4852d5ddefe3b77bb4f2cbf76fadbfe.tar.bz2 |
as Siggi and I agreed on: it is a bad idea to include pre-built versions
of the SGML and FIG files in the cvs, not only does it provoke inconsistencies,
it also breaks the current automatic update on xinehq.de, so:
* remove any pre-built files from CVS
* modify the Makefile's so that a "make dist" always rebuilds those files;
that way, it is ensured that up-to-date pre-built versions are included
in the release tarball so users don't need to install the whole docbook
toolchain just to read the FAQ in HTML
CVS patchset: 5599
CVS date: 2003/10/26 10:44:39
Diffstat (limited to 'doc/hackersguide/Makefile.am')
-rw-r--r-- | doc/hackersguide/Makefile.am | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/hackersguide/Makefile.am b/doc/hackersguide/Makefile.am index 205fccf44..b4cfa2228 100644 --- a/doc/hackersguide/Makefile.am +++ b/doc/hackersguide/Makefile.am @@ -10,8 +10,7 @@ hackersguide_sgml = hackersguide.sgml \ docs_DOCS = hackersguide.html architecture.png library.png overlays.png -EXTRA_DIST = README $(hackersguide_sgml) $(docs_DOCS) \ - architecture.fig library.fig overlays.fig +EXTRA_DIST = README $(hackersguide_sgml) architecture.fig library.fig overlays.fig docdir = $(prefix)/share/doc/xine/hackersguide @@ -38,12 +37,24 @@ uninstall-local: docs: $(docs_DOCS) +dist-hook: + @make fail_if_missing=yes docs + cp $(docs_DOCS) $(distdir) + hackersguide.html: $(hackersguide_sgml) @if test "$(SGMLTOOLS)" != "no"; then \ $(SGMLTOOLS) -b onehtml hackersguide.sgml; \ + else if test "$(fail_if_missing)" = "yes"; then \ + echo "Please install sgmltools-lite."; \ + exit 1; \ + fi; \ fi %.png: %.fig @if test "$(FIG2DEV)" != "no"; then \ $(FIG2DEV) -L png -S 4 $< $@; \ + else if test "$(fail_if_missing)" = "yes"; then \ + echo "Please install fig2dev."; \ + exit 1; \ + fi; \ fi |