You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
554 B
Makefile
26 lines
554 B
Makefile
REF = HEAD
|
|
VERSION = $(shell git describe --always $(REF))
|
|
|
|
ARCHIVE = vim-coffee-script-$(VERSION).zip
|
|
ARCHIVE_DIRS = after autoload compiler doc ftdetect ftplugin indent syntax
|
|
|
|
# Don't do anything by default.
|
|
all:
|
|
|
|
# Make vim.org zipball.
|
|
archive:
|
|
git archive $(REF) -o $(ARCHIVE) -- $(ARCHIVE_DIRS)
|
|
|
|
# Remove zipball.
|
|
clean:
|
|
-rm -f $(ARCHIVE)
|
|
|
|
# Build the list of syntaxes for @coffeeAll.
|
|
coffeeAll:
|
|
@grep -E 'syn (match|region)' syntax/coffee.vim |\
|
|
grep -v 'contained' |\
|
|
awk '{print $$3}' |\
|
|
uniq
|
|
|
|
.PHONY: all archive clean hash coffeeAll
|