Patch: FYI: fix install rule

Tom Tromey tromey@redhat.com
Wed Oct 11 14:42:00 GMT 2006


I must have had an old install directory when I tested yesterday's
patch -- since it was pointed out on irc that the install directory
for the file was not created.

Here's the fix.  Sorry about that.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* Makefile.in: Rebuilt.
	* Makefile.am (install-data-local): Use mkinstalldirs.

Index: Makefile.am
===================================================================
--- Makefile.am	(revision 117624)
+++ Makefile.am	(working copy)
@@ -549,6 +549,7 @@
 ## Install the .pc file.
 	@pc_version=`echo $(GCJVERSION) | sed -e 's/[.][^.]*$$//'`; \
 	file="libgcj-$${pc_version}.pc"; \
+	$(mkinstalldirs) $(DESTDIR)$(pkgconfigdir); \
 	echo "  $(INSTALL_DATA) libgcj.pc $(DESTDIR)$(pkgconfigdir)/$$file"; \
 	$(INSTALL_DATA) libgcj.pc $(DESTDIR)$(pkgconfigdir)/$$file
 ## We use a GNU make trick here so that we don't go over the command



More information about the Java-patches mailing list