Permalink
Browse files

Document Makefile rules

  • Loading branch information...
kchmck committed Aug 6, 2011
1 parent f65e11c commit e08a7e5f6151f3caafd7dc53ea57a4f4d2849d02
Showing with 5 additions and 2 deletions.
  1. +5 −2 Makefile
View
@@ -4,19 +4,22 @@ HASH = $(shell git rev-list -n 1 --abbrev-commit $(REF))
ARCHIVE = vim-coffee-script-$(HASH).zip
ARCHIVE_DIRS = after ftdetect ftplugin indent syntax
-# Nothing to do by default
+# Don't do anything by default.
all:
+# Make vim.org zipball.
archive:
git archive $(REF) $(ARCHIVE_DIRS) -o $(ARCHIVE)
+# Remove zipball.
clean:
-rm -f $(ARCHIVE)
-# For easy copypasta into vim.org
+# Print the abbreviated hash of REF for easy copypasta into vim.org.
hash:
@echo $(HASH)
+# Build the list of syntaxes for @coffeeAll.
coffeeAll:
@grep -E 'syn (match|region)' syntax/coffee.vim |\
grep -v 'contained' |\

0 comments on commit e08a7e5

Please sign in to comment.