"Fossies" - the Fresh Open Source Software Archive

Member "imapfilter-2.6.16/Makefile" (22 Nov 2019, 519 Bytes) of package /linux/privat/imapfilter-2.6.16.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 all install uninstall clean:
    2 	cd src && $(MAKE) $@
    3 
    4 TAG = $(shell git describe --abbrev=0 --tags)
    5 VERSION = $(shell echo $(TAG) | sed s/^v//)
    6 FORMAT = tar.gz
    7 
    8 dist:
    9 	@ if [ -n "`git tag --list $(TAG)`" ]; \
   10 	then \
   11 		git archive --verbose --format=$(FORMAT) \
   12 		--prefix=imapfilter-$(VERSION)/ \
   13 		--output=imapfilter-$(VERSION).$(FORMAT) v$(VERSION); \
   14 		echo "Created Git archive: imapfilter-$(VERSION).$(FORMAT)"; \
   15 	else \
   16 		echo "No such tag in the Git repository: $(TAG)"; \
   17 	fi
   18 
   19 distclean:
   20 	rm -f imapfilter-*.*