]> repo.cephalix.eu Git - BlueJ.git/commitdiff
Adapt makefile and .gitignore
authorbuildmaster <buildmaster@git.cephalix.eu>
Thu, 20 Sep 2018 07:39:39 +0000 (09:39 +0200)
committerbuildmaster <buildmaster@git.cephalix.eu>
Thu, 20 Sep 2018 07:39:39 +0000 (09:39 +0200)
Makefile

index d62e3a31605bae53826fc7cbda79a88fb2eed80d..edc201b8dbebb82f3c018da3d5ee60b75c8930e3 100644 (file)
--- 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)