Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 26 lines (19 sloc) 0.541 kb
18d3b71 @kchmck Add Makefile with initial archive rules
authored
1 REF = HEAD
314820a @kchmck Update Makefile
authored
2 VERSION = $(shell git describe --always $(REF))
18d3b71 @kchmck Add Makefile with initial archive rules
authored
3
314820a @kchmck Update Makefile
authored
4 ARCHIVE = vim-coffee-script-$(VERSION).zip
5 ARCHIVE_DIRS = after compiler ftdetect ftplugin indent syntax
18d3b71 @kchmck Add Makefile with initial archive rules
authored
6
e08a7e5 @kchmck Document Makefile rules
authored
7 # Don't do anything by default.
18d3b71 @kchmck Add Makefile with initial archive rules
authored
8 all:
9
e08a7e5 @kchmck Document Makefile rules
authored
10 # Make vim.org zipball.
ed98b39 @kchmck Merge $(ARCHIVE) into archive
authored
11 archive:
24922b0 @kchmck Rearrange arguments to git archive
authored
12 git archive $(REF) -o $(ARCHIVE) -- $(ARCHIVE_DIRS)
18d3b71 @kchmck Add Makefile with initial archive rules
authored
13
e08a7e5 @kchmck Document Makefile rules
authored
14 # Remove zipball.
18d3b71 @kchmck Add Makefile with initial archive rules
authored
15 clean:
16 -rm -f $(ARCHIVE)
17
e08a7e5 @kchmck Document Makefile rules
authored
18 # Build the list of syntaxes for @coffeeAll.
9bc7646 @kchmck Add coffeeAll rule to Makefile
authored
19 coffeeAll:
20 @grep -E 'syn (match|region)' syntax/coffee.vim |\
21 grep -v 'contained' |\
22 awk '{print $$3}' |\
59ca295 @kchmck Simplify coffeeAll
authored
23 uniq
9bc7646 @kchmck Add coffeeAll rule to Makefile
authored
24
f65e11c @kchmck Add all to .PHONY
authored
25 .PHONY: all archive clean hash coffeeAll
Something went wrong with that request. Please try again.