From: root Date: Tue, 14 Aug 2018 18:19:42 +0000 (+0200) Subject: Adapt template. X-Git-Url: https://repo.cephalix.eu/gitweb/?a=commitdiff_plain;h=0ed79308fef18ab9e8a71e8c72e554407d4e6875;p=template.git Adapt template. --- diff --git a/Makefile b/Makefile index 601e3fa..7d28a10 100644 --- a/Makefile +++ b/Makefile @@ -7,12 +7,11 @@ NRELEASE = $(shell echo $(RELEASE) + 1 | bc ) package: - cp ../template/packages.spec 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) - sed s/PACKAGE/$(PACKAGE)/g ../template/temlate.sls > oss-pkg-$(PACKAGE)/$(PACKAGE).sls + sed s/PACKAGE/$(PACKAGE)/g $(PACKAGE).sls > oss-pkg-$(PACKAGE)/$(PACKAGE).sls if [ -d repo-ng ]; then ln -s ../repo-ng/ oss-pkg-$(PACKAGE)/repo-ng; fi tar hjcvpf oss-pkg-$(PACKAGE).tar.bz2 oss-pkg-$(PACKAGE) rm -rf oss-pkg-$(PACKAGE)