From 0ed79308fef18ab9e8a71e8c72e554407d4e6875 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 14 Aug 2018 20:19:42 +0200 Subject: [PATCH] Adapt template. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -- 2.43.0