From: buildmaster Date: Thu, 20 Sep 2018 07:39:39 +0000 (+0200) Subject: Adapt makefile and .gitignore X-Git-Url: https://repo.cephalix.eu/gitweb/?a=commitdiff_plain;h=132d40da4e8741704a19c79ba2f27be0bcb287d2;p=BlueJ.git Adapt makefile and .gitignore --- diff --git a/Makefile b/Makefile index d62e3a3..edc201b 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,7 @@ NRELEASE = $(shell echo $(RELEASE) + 1 | bc ) package: - cp packages.spec.in 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)