diff --git a/Makefile b/Makefile index 3f4e92f..693ba8e 100644 --- a/Makefile +++ b/Makefile @@ -17,16 +17,16 @@ REPO = main BRIEF = Flex is a tool for generating scanners DESC = Flex is a tool for generating scanners. A scanner, sometimes called a \ tokenizer, is a program which recognizes lexical patterns in text. -SNAPVER = 3 +SLVER = 4 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 export VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'| \ - sed 's/^-//')-$(SNAPVER) + sed 's/^-//')-$(SLVER) -include /usr/share/snap/Makefile.snaplinux +include /usr/share/sl/Makefile.snaplinux DEV := $(PWD)/$(PACKAGE)-dev DEVROOT := $(DEV)/ROOT @@ -70,7 +70,7 @@ $(ROOT): $(SRCDIR)/src/flex @cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \ ln -sv flex $(ROOT)/usr/bin/lex && \ rm -v $(ROOT)/usr/share/info/dir && \ - install -v -d $(DEV)/SNAP && \ + install -v -d $(DEV)/SL && \ install -v -d $(DEVROOT) && \ for file in `find $(ROOT)| \ egrep '\.(a|h|la)$$'`; do \ @@ -79,7 +79,7 @@ $(ROOT): $(SRCDIR)/src/flex mv $$file $$path; \ done @find $(ROOT) -type d -empty -delete && \ - cd $(DEV) && make -f ../Makefile.$(PACKAGE)-dev && mv *.snap ../ + cd $(DEV) && make -f ../Makefile.$(PACKAGE)-dev && mv *.slp ../ test: $(ROOT) @cd $(SRCDIR); \ @@ -88,7 +88,7 @@ test: $(ROOT) clean: @rm -rvf $(ROOT) \ $(DEV) \ - $(SNAPINFO) \ + $(SLINFO) \ $(MANIFEST) \ $(FILES) \ $(SRCDIR) diff --git a/Makefile.flex-dev b/Makefile.flex-dev index 6ce7579..3ff6fc8 100644 --- a/Makefile.flex-dev +++ b/Makefile.flex-dev @@ -13,4 +13,4 @@ REPO = dev BRIEF = Development files for flex DESC = Development files for flex -include /usr/share/snap/Makefile.snaplinux +include /usr/share/sl/Makefile.snaplinux diff --git a/SNAP/README b/SL/README similarity index 100% rename from SNAP/README rename to SL/README