axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Schweikert <rschweik...@novell.com>
Subject Respect DESTDIR for documentation install
Date Tue, 26 Oct 2010 18:35:08 GMT
Hi,

The patch bellow changes the Makefile such that DESTDIR is respected for
the documentation installation.

diff -Naurh ./Makefile.in axis2c-src-1.6.0/Makefile.in
--- ./Makefile.in	2009-08-01 14:21:55.000000000 -0300
+++ axis2c-src-1.6.0/Makefile.in	2009-08-01 14:22:13.000000000 -0300
@@ -828,9 +828,9 @@
 	rm -rf axis2c-bin-${PACKAGE_VERSION}-linux

 install-data-hook:
-	cp -r docs $(docsdir)
-	rm -rf `find $(docsdir)/ -type d -name .svn`
-	rm $(docsdir)/README
+	cp -r docs $(DESTDIR)$(docsdir)
+	rm -rf `find $(DESTDIR)$(docsdir)/ -type d -name .svn`
+	rm $(DESTDIR)$(docsdir)/README
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:


Robert
-- 
Robert Schweikert                           MAY THE SOURCE BE WITH YOU
Software Engineer Consultant                          LINUX
rschweikert@novell.com
781-464-8147

Novell
Making IT Work As One

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


Mime
View raw message