Use a common place to set XBPS_VERSION.

This commit is contained in:
Juan RP
2012-10-03 10:10:20 +02:00
parent 5413a4ec50
commit b13df00ded
4 changed files with 10 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ INCS = xbps_api.h
.PHONY: all
all:
sed -e "s|@@VERSION@@|${VERSION}|g" ${INCS}.in > ${INCS}
.PHONY: install
install:
@@ -16,3 +17,4 @@ uninstall:
.PHONY: clean
clean:
-rm -f ${INCS}