This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
fence: master - build: add knowledge for install/uninstall of .pcfiles
- From: "Fabio M. Di Nitto" <fabbione at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Fri, 30 Jan 2009 11:40:33 +0000 (UTC)
- Subject: fence: master - build: add knowledge for install/uninstall of .pcfiles
Gitweb: http://git.fedorahosted.org/git/fence.git?p=fence.git;a=commitdiff;h=5fb52f891003ec786a67b2ff20f432417f0fb10f
Commit: 5fb52f891003ec786a67b2ff20f432417f0fb10f
Parent: 582249d8769e901938a01e71eded1d51a54ec891
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Fri Jan 30 11:13:27 2009 +0100
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Fri Jan 30 12:39:15 2009 +0100
build: add knowledge for install/uninstall of .pc files
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
make/install.mk | 4 ++++
make/uninstall.mk | 3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/make/install.mk b/make/install.mk
index 156f1af..af1f084 100644
--- a/make/install.mk
+++ b/make/install.mk
@@ -25,3 +25,7 @@ ifdef DOCS
install -m644 $(S)/$$i ${docdir}; \
done
endif
+ifdef PKGCONF
+ install -d ${pkgconfigdir}
+ install -m644 ${PKGCONF} ${pkgconfigdir}
+endif
diff --git a/make/uninstall.mk b/make/uninstall.mk
index df5070d..caa0cfc 100644
--- a/make/uninstall.mk
+++ b/make/uninstall.mk
@@ -17,3 +17,6 @@ endif
ifdef DOCS
${UNINSTALL} ${DOCS} ${docdir}
endif
+ifdef PKGCONF
+ ${UNINSTALL} ${PKGCONF} ${pkgconfigdir}
+endif