From bf59bedc0c73f95c29b2b8e97088deccd61c0262 Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Fri, 21 Aug 2020 09:02:31 -0500 Subject: [PATCH] Corrected version --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9ccef13..485d4c9 100644 --- a/Makefile +++ b/Makefile @@ -14,13 +14,13 @@ URL = https://www.gnu.org/software/m4/ REPO = dev BRIEF = macro processor DESC = GNU M4 is an implementation of the traditional Unix macro processor. -SLVER = 1 +SLVER = 2 ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//') PATCHDIR := $(PWD)/SRC/patches -VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')$(SLVER) +VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')-$(SLVER) include /usr/share/sl/Makefile.snaplinux