configure: add --exec-prefix and fix pkgconfig file paths.

This commit is contained in:
Juan RP
2012-01-18 11:28:55 +01:00
parent dfc7ff4232
commit 9147488b19
3 changed files with 21 additions and 13 deletions

View File

@@ -5,7 +5,9 @@ PCFILE = libxbps.pc
.PHONY: all
all:
sed -e "s|@@VERSION@@|${VERSION}|g;s|@@PREFIX@@|${PREFIX}|g" \
sed -e "s|@@VERSION@@|${VERSION}|g" \
-e "s|@@PREFIX@@|${PREFIX}|g" \
-e "s|@@EPREFIX@@|${EPREFIX}|g" \
${PCFILE}.in > ${PCFILE}
.PHONY: install