This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: fix install rule
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 11 Oct 2006 08:34:44 -0600
- Subject: Patch: FYI: fix install rule
- Reply-to: tromey at redhat dot com
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