From f74e7d7f03dc6d684fc070294cf0add571a6d578 Mon Sep 17 00:00:00 2001 From: Peter Varkoly Date: Wed, 26 Jul 2017 14:50:56 +0200 Subject: [PATCH] Update Make --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 30376a3..4f7bda1 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -PACKAGE = $(sjell basename `pwd` ) +PACKAGE = $(shell basename `pwd` ) DESTDIR = / REPO = /srv/www/repo/TESTING/oss-packages/ -VERSION = $(shell cat RELEASE ) +VERSION = $(shell cat VERSION ) RELEASE = $(shell cat RELEASE ) NRELEASE = $(shell echo $(RELEASE) + 1 | bc ) @@ -10,7 +10,7 @@ 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/PACAKGE/$(PACKAGE)/ oss-pkg-$(PACKAGE).spec + sed -i s/PACKAGE/$(PACKAGE)/ 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 -- 2.43.0