]> repo.cephalix.eu Git - BlueJ.git/commitdiff
Update Makefile
authorPeter Varkoly <peter@varkoly.de>
Tue, 19 Sep 2017 19:40:37 +0000 (21:40 +0200)
committerPeter Varkoly <peter@varkoly.de>
Tue, 19 Sep 2017 19:40:37 +0000 (21:40 +0200)
Makefile

index 19fc9c00d060fb36285f6d13e02e8112175c0049..49e10e54b779107fd2313b32e3c7a31eb53570c0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,9 +8,9 @@ NRELEASE        = $(shell echo $(RELEASE) + 1 | bc )
 
 package:
        cp packages.spec.in oss-pkg-$(PACKAGE).spec
-       sed -i s/VERSION/$(VERSION)/  oss-pkg-$(PACKAGE).spec
-       sed -i s/RELEASE/$(NRELEASE)/ oss-pkg-$(PACKAGE).spec
-       sed -i s/PACKAGE/$(PACKAGE)/  oss-pkg-$(PACKAGE).spec
+       sed -i s/VERSION/$(VERSION)/g  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)
        ln -s ../$(PACKAGE).sls oss-pkg-$(PACKAGE)/$(PACKAGE).sls
        if [ -d repo-ng ]; then ln -s ../repo-ng/ oss-pkg-$(PACKAGE)/repo-ng; fi