From: buildmaster Date: Thu, 20 Sep 2018 07:15:53 +0000 (+0200) Subject: Adapt makefile and .gitignore X-Git-Url: https://repo.cephalix.eu/gitweb/?a=commitdiff_plain;h=7fa6179c3da909bb23dd17b8baeda3d392a26dea;p=Amaya.git Adapt makefile and .gitignore --- diff --git a/Makefile b/Makefile index 601e3fa..f2ba05c 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,7 @@ NRELEASE = $(shell echo $(RELEASE) + 1 | bc ) package: - cp ../template/packages.spec oss-pkg-$(PACKAGE).spec - 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 mkdir -p oss-pkg-$(PACKAGE) diff --git a/packages.spec.in b/oss-pkg-Amaya.spec.in similarity index 100% rename from packages.spec.in rename to oss-pkg-Amaya.spec.in