]> repo.cephalix.eu Git - template.git/commitdiff
Adap license year too.
authorbuildmaster <buildmaster@git.cephalix.eu>
Thu, 16 Jun 2022 10:58:42 +0000 (12:58 +0200)
committerbuildmaster <buildmaster@git.cephalix.eu>
Thu, 16 Jun 2022 10:58:42 +0000 (12:58 +0200)
Makefile

index 4661935e02ff65d6b05ea7d71d222b690cfd37b1..f30c3b1bf1ab43024a7939ad9b0c212c58514540 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,10 +12,12 @@ package:
        sed -i s/PACKAGE/$(PACKAGE)/g  oss-pkg-$(PACKAGE).spec
        sed -i s/YEAR/$(YEAR)/g        oss-pkg-$(PACKAGE).spec
        sed    s/VERSION/$(VERSION)/g  init.sls.in > repo-ng/init.sls
+       sed -i s/YEAR/$(YEAR)/g        repo-ng/init.sls
        ../oss-pkg-tools/create_hash.sh $(PACKAGE)
        rm -rf oss-pkg-$(PACKAGE)
        mkdir -p oss-pkg-$(PACKAGE)
        sed s/PACKAGE/$(PACKAGE)/g  $(PACKAGE).sls > oss-pkg-$(PACKAGE)/$(PACKAGE).sls
+       sed -i s/YEAR/$(YEAR)/g     oss-pkg-$(PACKAGE)/$(PACKAGE).sls
        if [ -d repo-ng ]; then cd oss-pkg-$(PACKAGE); ln -s ../repo-ng; cd ..; fi
        tar hjcvpf oss-pkg-$(PACKAGE).tar.bz2 oss-pkg-$(PACKAGE)  
        rm -rf oss-pkg-$(PACKAGE)