[gtk-doc] make: use "." instead of $(builddir)



commit ac3a10b4647b4d5e97cb2f31c78d2a56d7a4a918
Author: Stefan Kost <ensonic users sf net>
Date:   Thu Apr 14 21:46:45 2011 +0300

    make: use "." instead of $(builddir)
    
    $(builddir) was introduced in automake-1.10.

 gtk-doc.make        |   10 +++++-----
 gtk-doc.notmpl.make |    8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gtk-doc.make b/gtk-doc.make
index 24163e3..074dba8 100644
--- a/gtk-doc.make
+++ b/gtk-doc.make
@@ -275,11 +275,11 @@ endif
 dist-hook: dist-check-gtkdoc dist-hook-local
 	@mkdir $(distdir)/tmpl
 	@mkdir $(distdir)/html
-	@-cp $(builddir)/tmpl/*.sgml $(distdir)/tmpl
-	@cp $(builddir)/html/* $(distdir)/html
-	@-cp $(builddir)/$(DOC_MODULE).pdf $(distdir)/
-	@-cp $(builddir)/$(DOC_MODULE).types $(distdir)/
-	@-cp $(builddir)/$(DOC_MODULE)-sections.txt $(distdir)/
+	@-cp ./tmpl/*.sgml $(distdir)/tmpl
+	@cp ./html/* $(distdir)/html
+	@-cp ./$(DOC_MODULE).pdf $(distdir)/
+	@-cp ./$(DOC_MODULE).types $(distdir)/
+	@-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
 	@cd $(distdir) && rm -f $(DISTCLEANFILES)
 	@$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
 
diff --git a/gtk-doc.notmpl.make b/gtk-doc.notmpl.make
index ea74462..7f8868c 100644
--- a/gtk-doc.notmpl.make
+++ b/gtk-doc.notmpl.make
@@ -252,10 +252,10 @@ endif
 
 dist-hook: dist-check-gtkdoc dist-hook-local
 	@mkdir $(distdir)/html
-	@cp $(builddir)/html/* $(distdir)/html
-	@-cp $(builddir)/$(DOC_MODULE).pdf $(distdir)/
-	@-cp $(builddir)/$(DOC_MODULE).types $(distdir)/
-	@-cp $(builddir)/$(DOC_MODULE)-sections.txt $(distdir)/
+	@cp ./html/* $(distdir)/html
+	@-cp ./$(DOC_MODULE).pdf $(distdir)/
+	@-cp ./$(DOC_MODULE).types $(distdir)/
+	@-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
 	@cd $(distdir) && rm -f $(DISTCLEANFILES)
 	@$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]