summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-01-23 13:07:39 -0500
committerColin Walters <walters@verbum.org>2012-01-23 13:07:39 -0500
commitc8a8353e59bb73ddbc656193594bc9997ac50436 (patch)
tree0bfde71c9c0d56d88da581a3aad6d717261aee47
parent8408602255e71ab582b0f957081fdd0401d5ce12 (diff)
downloadvala-c8a8353e59bb73ddbc656193594bc9997ac50436.tar.gz
vapigen: Use install-data-hook for .pc file symbolic link
The $(pkgconfigdir) may not have been created when we're just in the install-exec phase.
-rw-r--r--vapigen/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/vapigen/Makefile.am b/vapigen/Makefile.am
index 407a703d2..8460a5e4d 100644
--- a/vapigen/Makefile.am
+++ b/vapigen/Makefile.am
@@ -91,6 +91,8 @@ if ENABLE_UNVERSIONED
install-exec-hook:
cd $(DESTDIR)$(bindir) && $(LN_S) -f vapigen@PACKAGE_SUFFIX@$(EXEEXT) vapigen$(EXEEXT)
cd $(DESTDIR)$(bindir) && $(LN_S) -f vapicheck@PACKAGE_SUFFIX@$(EXEEXT) vapicheck$(EXEEXT)
+
+install-data-hook:
cd $(DESTDIR)$(pkgconfigdir) && $(LN_S) -f vapigen@PACKAGE_SUFFIX@.pc vapigen.pc
endif