From: buildmaster Date: Thu, 20 Sep 2018 07:11:20 +0000 (+0200) Subject: Adapt the Make file. X-Git-Url: https://repo.cephalix.eu/gitweb/?a=commitdiff_plain;h=1f28dbd5d5b81b1160af9b4e10b3e451340b68cc;p=template.git Adapt the Make file. --- diff --git a/Makefile b/Makefile index 68bafd5..fc166cc 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,7 @@ YEAR = $(shell date +%Y ) package: - if [ ! -e oss-pkg-$(PACKAGE).spec ]; then cp ../template/package.spec oss-pkg-$(PACKAGE).spec; fi - sed -i s/VERSION/$(VERSION)/g oss-pkg-$(PACKAGE).spec + sed s/VERSION/$(VERSION)/g oss-pkg-$(PACKAGE).spec.in > oss-pkg-$(PACKAGE).spec sed -i s/RELEASE/$(NRELEASE)/g oss-pkg-$(PACKAGE).spec sed -i s/PACKAGE/$(PACKAGE)/g oss-pkg-$(PACKAGE).spec sed -i s/YEAR/$(YEAR)/g oss-pkg-$(PACKAGE).spec