summaryrefslogtreecommitdiff
path: root/doc/hackersguide
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2004-08-25 19:28:50 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2004-08-25 19:28:50 +0000
commit9f6ed0fb794009567dcfd8d199ef3ef42a83fad0 (patch)
treeeefc9f24fbf75621497eedcf9b11f822e7c52e72 /doc/hackersguide
parent4a3f742d4cff53c247bd119ad4df8b4ea85f260b (diff)
downloadxine-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/hackersguide')
-rw-r--r--doc/hackersguide/Makefile.am12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/hackersguide/Makefile.am b/doc/hackersguide/Makefile.am
index 082601466..5fe5bc428 100644
--- a/doc/hackersguide/Makefile.am
+++ b/doc/hackersguide/Makefile.am
@@ -20,6 +20,11 @@ docs: $(docs_DATA)
distclean-generic: clean-docs
+docs-prepare: $(addprefix $(srcdir)/, $(hackersguide_sgml))
+ for file in $(hackersguide_sgml); do \
+ test -f ./$$file || cp $(srcdir)/$$file .; \
+ done
+
clean-docs:
rm -f $(docs_DATA)
test "x$(srcdir)" = x. || rm -f $(hackersguide_sgml)
@@ -28,14 +33,11 @@ dist-hook:
@make fail_if_missing=yes docs
cp $(docs_DATA) $(distdir)
-$(hackersguide_sgml): %.sgml: $(srcdir)/%.sgml
- cp $^ .
-
if HAVE_SGMLTOOLS
-hackersguide.html: $(hackersguide_sgml)
+hackersguide.html: docs-prepare $(hackersguide_sgml)
$(SGMLTOOLS) -b onehtml hackersguide.sgml;
else
-hackersguide.html: $(hackersguide_sgml)
+hackersguide.html: docs-prepare $(hackersguide_sgml)
if test x"$(fail_if_missing)" = x"yes"; then \
echo "Please install sgmltools-lite."; \
exit 1; \