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