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

index ac9a108cd415f8dd4d640372b5f78faa7ef556d7..0281e97ba3947ab8e9071bc64ea90be02eaa1014 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