[xiph-commits] r9373 - trunk/theora/doc

thomasvs at motherfish-iii.xiph.org thomasvs at motherfish-iii.xiph.org
Mon Jun 6 06:05:06 PDT 2005


Author: thomasvs
Date: 2005-06-06 06:05:03 -0700 (Mon, 06 Jun 2005)
New Revision: 9373

Modified:
   trunk/theora/doc/Makefile.am
Log:
fix up -local rules so that make distcheck works


Modified: trunk/theora/doc/Makefile.am
===================================================================
--- trunk/theora/doc/Makefile.am	2005-06-06 12:58:59 UTC (rev 9372)
+++ trunk/theora/doc/Makefile.am	2005-06-06 13:05:03 UTC (rev 9373)
@@ -44,23 +44,22 @@
 
 
 install-data-local: doxygen-build.stamp
-	$(mkinstalldirs) $(docdir)
+	$(mkinstalldirs) $(DESTDIR)$(docdir)
 	if test -d libtheora; then \
 	  for dir in libtheora/*; do \
 	    if test -d $$dir; then \
 	      b=`basename $$dir`; \
-	      $(mkinstalldirs) $(docdir)/$$b; \
+	      $(mkinstalldirs) $(DESTDIR)$(docdir)/$$b; \
 	      for f in $$dir/*; do \
-		$(INSTALL_DATA) $$f $(docdir)/$$b; \
+		$(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$b; \
 	      done \
 	    fi \
 	  done \
 	fi
 
 uninstall-local:
-	rm -rf $(docdir)
+	rm -rf $(DESTDIR)$(docdir)
 
 clean-local:
 	if test -d libtheora; then rm -rf libtheora; fi
 	if test -f doxygen-build.stamp; then rm -f doxygen-build.stamp; fi
-



More information about the commits mailing list