summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/faq/Makefile.am12
-rw-r--r--doc/hackersguide/Makefile.am10
2 files changed, 11 insertions, 11 deletions
diff --git a/doc/faq/Makefile.am b/doc/faq/Makefile.am
index 65f576366..7692541c3 100644
--- a/doc/faq/Makefile.am
+++ b/doc/faq/Makefile.am
@@ -8,13 +8,13 @@ docsdir = $(prefix)/share/doc/xine/faq
docs: $(docs_DATA)
dist-hook:
- @touch $(EXTRA_DIST)
+ @touch $(addprefix $(srcdir)/, $(EXTRA_DIST))
@make fail_if_missing=yes docs
- cp $(docs_DATA) $(distdir)
+ cp $(addprefix $(srcdir)/, $(docs_DATA)) $(distdir)
-faq.html: faq.sgml
+faq.html: $(srcdir)/faq.sgml
@if test "$(SGMLTOOLS)" != "no"; then \
- $(SGMLTOOLS) -b onehtml faq.sgml; \
+ $(SGMLTOOLS) -b onehtml $(srcdir)/faq.sgml; \
else if test "$(fail_if_missing)" = "yes"; then \
echo "Please install sgmltools-lite."; \
exit 1; \
@@ -22,9 +22,9 @@ faq.html: faq.sgml
fi; \
fi
-faq.txt: faq.sgml
+faq.txt: $(srcdir)/faq.sgml
@if test "$(SGMLTOOLS)" != "no"; then \
- $(SGMLTOOLS) -b txt faq.sgml; \
+ $(SGMLTOOLS) -b txt $(srcdir)/faq.sgml; \
else if test "$(fail_if_missing)" = "yes"; then \
echo "Please install sgmltools-lite."; \
exit 1; \
diff --git a/doc/hackersguide/Makefile.am b/doc/hackersguide/Makefile.am
index 8ba5a6e02..f355b8a05 100644
--- a/doc/hackersguide/Makefile.am
+++ b/doc/hackersguide/Makefile.am
@@ -17,13 +17,13 @@ docsdir = $(prefix)/share/doc/xine/hackersguide
docs: $(docs_DATA)
dist-hook:
- @touch $(EXTRA_DIST)
+ @touch $(addprefix $(srcdir)/, $(EXTRA_DIST))
@make fail_if_missing=yes docs
- cp $(docs_DATA) $(distdir)
+ cp $(addprefix $(srcdir)/, $(docs_DATA)) $(distdir)
-hackersguide.html: $(hackersguide_sgml)
+hackersguide.html: $(addprefix $(srcdir)/, $(hackersguide_sgml))
@if test "$(SGMLTOOLS)" != "no"; then \
- $(SGMLTOOLS) -b onehtml hackersguide.sgml; \
+ $(SGMLTOOLS) -b onehtml $(srcdir)/hackersguide.sgml; \
else if test "$(fail_if_missing)" = "yes"; then \
echo "Please install sgmltools-lite."; \
exit 1; \
@@ -31,7 +31,7 @@ hackersguide.html: $(hackersguide_sgml)
fi; \
fi
-%.png: %.fig
+%.png: $(srcdir)/%.fig
@if test "$(FIG2DEV)" != "no"; then \
$(FIG2DEV) -L png -S 4 $< $@; \
else if test "$(fail_if_missing)" = "yes"; then \