summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobin KAY <komadori@users.sourceforge.net>2006-06-15 21:31:33 +0000
committerRobin KAY <komadori@users.sourceforge.net>2006-06-15 21:31:33 +0000
commit04799cc9b9986e08c6989fe61a0a5460bdc9901a (patch)
treeece49df018252a596ab5f9ee3ad56dda37984f8b /doc
parent18cfbae67c7394e4858f91bc3fe77b6be7337d12 (diff)
downloadxine-lib-04799cc9b9986e08c6989fe61a0a5460bdc9901a.tar.gz
xine-lib-04799cc9b9986e08c6989fe61a0a5460bdc9901a.tar.bz2
Fix build failure when $(srcdir) is an absolute path.
CVS patchset: 8040 CVS date: 2006/06/15 21:31:33
Diffstat (limited to 'doc')
-rw-r--r--doc/faq/Makefile.am2
-rw-r--r--doc/hackersguide/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/faq/Makefile.am b/doc/faq/Makefile.am
index 1565f5cae..3991c3be9 100644
--- a/doc/faq/Makefile.am
+++ b/doc/faq/Makefile.am
@@ -11,7 +11,7 @@ docs: $(docs_DATA)
distclean-local: clean-docs
docs-prepare: $(srcdir)/faq.sgml
- if test "$(srcdir)" != "." ; then \
+ if test "$(srcdir)" != "." -a "$(srcdir)" != `pwd`; then \
test -f ./faq.sgml -a ./faq.sgml -nt $(srcdir)/faq.sgml || cp $^ . ; \
fi
diff --git a/doc/hackersguide/Makefile.am b/doc/hackersguide/Makefile.am
index e6812c19e..91c1b901f 100644
--- a/doc/hackersguide/Makefile.am
+++ b/doc/hackersguide/Makefile.am
@@ -25,7 +25,7 @@ docs: $(docs_DATA)
distclean-local: clean-docs
docs-prepare: $(addprefix $(srcdir)/, $(hackersguide_sgml))
- if test "$(srcdir)" != "." ; then \
+ if test "$(srcdir)" != "." -a "$(srcdir)" != `pwd`; then \
for file in $(hackersguide_sgml) ; do \
test -f ./$$file -a ./$$file -nt $(srcdir)/$$file || cp $(srcdir)/$$file .; \
done ; \