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

index 4f7bda18f2db05200e35eebdfc50ec990f67f709..f5b2aef82b190daf7f325190d6a6a2c03ee5e9be 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