diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/faq/Makefile.am | 8 | ||||
-rw-r--r-- | doc/hackersguide/Makefile.am | 12 |
2 files changed, 15 insertions, 5 deletions
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 |