This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: fix install rule


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]