From 1f28dbd5d5b81b1160af9b4e10b3e451340b68cc Mon Sep 17 00:00:00 2001 From: buildmaster Date: Thu, 20 Sep 2018 09:11:20 +0200 Subject: [PATCH] Adapt the Make file. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.43.0