[cp-patches] [release] FYI: Allow native-only build #04: Fix use of mkinstalldirs

Andrew John Hughes gnu_andrew at member.fsf.org
Sun Jun 1 21:13:34 UTC 2008


This fixes the use of mkinstalldirs in lib/Makefile.am
to use the variable.

ChangeLog:

2008-06-01  Andrew John Hughes  <gnu_andrew at member.fsf.org>

	* lib/Makefile.am:
	Replace explicit mkinstalldirs with $(mkinstalldirs).

-- 
Andrew :)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8
-------------- next part --------------
Index: lib/Makefile.am
===================================================================
RCS file: /sources/classpath/classpath/lib/Makefile.am,v
retrieving revision 1.142.2.1
diff -u -u -r1.142.2.1 Makefile.am
--- lib/Makefile.am	1 Jun 2008 17:16:51 -0000	1.142.2.1
+++ lib/Makefile.am	1 Jun 2008 21:06:21 -0000
@@ -40,7 +40,7 @@
 if INSTALL_CLASS_FILES
 
 install-data-local: genclasses compile-classes
-	-$(top_srcdir)/mkinstalldirs $(DESTDIR)$(pkgdatadir)
+	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
 	cp -R gnu $(DESTDIR)$(pkgdatadir)
 	cp -R java $(DESTDIR)$(pkgdatadir)
 	cp -R javax $(DESTDIR)$(pkgdatadir)


More information about the Classpath-patches mailing list