From 4a6b8c82dc6fc82c6ac0ab2bf4d67aa1338f4a5b Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Sat, 25 Oct 2003 00:49:11 +0000 Subject: use relchk.sh use relchk.sh use relchk.sh fix "make dist". Now tarball is complete. don't expect people have doc formatting tools (check for sgmltools and fig2dev). rename the spaced name file in win32 (Tim, can you check if i didn't break anything please ?). CVS patchset: 5589 CVS date: 2003/10/25 00:49:11 --- doc/faq/Makefile.am | 8 ++++++-- doc/hackersguide/Makefile.am | 12 +++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/faq/Makefile.am b/doc/faq/Makefile.am index 08ae350c2..ba3ebd15c 100644 --- a/doc/faq/Makefile.am +++ b/doc/faq/Makefile.am @@ -29,7 +29,11 @@ uninstall-local: docs: $(docs_DOCS) faq.html: faq.sgml - sgmltools -b onehtml faq.sgml + @if test "$(SGMLTOOLS)" != "no"; then \ + $(SGMLTOOLS) -b onehtml faq.sgml; \ + fi faq.txt: faq.sgml - sgmltools -b txt faq.sgml + @if test "$(SGMLTOOLS)" != "no"; then \ + $(SGMLTOOLS) -b txt faq.sgml; \ + fi diff --git a/doc/hackersguide/Makefile.am b/doc/hackersguide/Makefile.am index 8e7303733..205fccf44 100644 --- a/doc/hackersguide/Makefile.am +++ b/doc/hackersguide/Makefile.am @@ -8,9 +8,11 @@ hackersguide_sgml = hackersguide.sgml \ stream.sgml \ output.sgml -EXTRA_DIST = README $(hackersguide_sgml) architecture.fig library.fig overlays.fig docs_DOCS = hackersguide.html architecture.png library.png overlays.png +EXTRA_DIST = README $(hackersguide_sgml) $(docs_DOCS) \ + architecture.fig library.fig overlays.fig + docdir = $(prefix)/share/doc/xine/hackersguide install-data-local: @@ -37,7 +39,11 @@ uninstall-local: docs: $(docs_DOCS) hackersguide.html: $(hackersguide_sgml) - sgmltools -b onehtml hackersguide.sgml + @if test "$(SGMLTOOLS)" != "no"; then \ + $(SGMLTOOLS) -b onehtml hackersguide.sgml; \ + fi %.png: %.fig - fig2dev -L png -S 4 $< $@ + @if test "$(FIG2DEV)" != "no"; then \ + $(FIG2DEV) -L png -S 4 $< $@; \ + fi -- cgit v1.2.3