From 79c5f9914c6476d31d64b85d0d34b31644732672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Sat, 10 Apr 2004 20:35:27 +0000 Subject: Autostuff houskeeping: - prepare also po/POTFILES.in by 'make dist' before updating po-files, so also new files with strings for translatiom will be included - make build proces working in separate directory CVS patchset: 6387 CVS date: 2004/04/10 20:35:27 --- doc/faq/Makefile.am | 12 ++++++------ doc/hackersguide/Makefile.am | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'doc') 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 \ -- cgit v1.2.3