dlm: master - build: add knowledge for install/uninstall of .pc files
Fabio M. Di Nitto
fabbione@fedoraproject.org
Fri Jan 30 11:42:00 GMT 2009
Gitweb: http://git.fedorahosted.org/git/dlm.git?p=dlm.git;a=commitdiff;h=81334a95ab60d745debbc11f2fda27665bff77c4
Commit: 81334a95ab60d745debbc11f2fda27665bff77c4
Parent: c9c047b3bf1de62b57070f1cc2f646dc88777f61
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:35:27 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 d16ab11..8c403aa 100644
--- a/make/install.mk
+++ b/make/install.mk
@@ -31,3 +31,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 5650231..ab4bba9 100644
--- a/make/uninstall.mk
+++ b/make/uninstall.mk
@@ -20,3 +20,6 @@ endif
ifdef DOCS
${UNINSTALL} ${DOCS} ${docdir}
endif
+ifdef PKGCONF
+ ${UNINSTALL} ${PKGCONF} ${pkgconfigdir}
+endif
More information about the Cluster-cvs
mailing list