diff --git a/Makefile b/Makefile index 906259e..b807f9d 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ ARCH = x86_64 URL = http://flex.sourceforge.net/ DESC = Flex is a tool for generating scanners. A scanner, sometimes called a \ tokenizer, is a program which recognizes lexical patterns in text. -SNAPVER = sr0 +SNAPVER = sr1 ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') @@ -23,7 +23,8 @@ VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')$(SNAPVER) MAKE = make MAKEINST = make install -SNAPHACKS = ln -sv flex $(ROOT)/usr/bin/lex +SNAPHACKS = ln -sv flex $(ROOT)/usr/bin/lex && \ + rm -v $(ROOT)/usr/share/info/dir include /usr/share/snap/Makefile.snaplinux