diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2004-08-25 19:28:50 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2004-08-25 19:28:50 +0000 |
commit | 9f6ed0fb794009567dcfd8d199ef3ef42a83fad0 (patch) | |
tree | eefc9f24fbf75621497eedcf9b11f822e7c52e72 /doc/faq | |
parent | 4a3f742d4cff53c247bd119ad4df8b4ea85f260b (diff) | |
download | xine-lib-9f6ed0fb794009567dcfd8d199ef3ef42a83fad0.tar.gz xine-lib-9f6ed0fb794009567dcfd8d199ef3ef42a83fad0.tar.bz2 |
Testing the source documentation files manually - the circular dependency is always dropped, even with $(srcdir) != builddir.
CVS patchset: 6904
CVS date: 2004/08/25 19:28:50
Diffstat (limited to 'doc/faq')
-rw-r--r-- | doc/faq/Makefile.am | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/faq/Makefile.am b/doc/faq/Makefile.am index f5d768cf0..c04c4442c 100644 --- a/doc/faq/Makefile.am +++ b/doc/faq/Makefile.am @@ -6,10 +6,13 @@ docs_DATA = faq.html faq.txt docsdir = $(prefix)/share/doc/xine/faq -docs: $(docs_DATA) +docs: docs-prepare $(docs_DATA) distclean-generic: clean-docs +docs-prepare: $(srcdir)/faq.sgml + test -f ./faq.sgml || cp $^ . + clean-docs: rm -f $(docs_DATA) test "x$(srcdir)" = x. || rm -f faq.sgml @@ -18,14 +21,11 @@ dist-hook: @make fail_if_missing=yes docs cp $(docs_DATA) $(distdir) -faq.sgml: $(srcdir)/faq.sgml - cp $^ . - if HAVE_SGMLTOOLS -faq.html: faq.sgml +faq.html: docs-prepare faq.sgml $(SGMLTOOLS) -b onehtml faq.sgml; else -faq.html: faq.sgml +faq.html: docs-prepare faq.sgml if test x"$(fail_if_missing)" = x"yes"; then \ echo "Please install sgmltools-lite."; \ exit 1; \ |