Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f6d74e132b
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (30 sloc) 1.184 kb
SPARKUP_PY=sparkup
VERSION=`date '+%Y%m%d'`
README=README.md
.PHONY: all textmate vim textmate-dist vim-dist plugins plugins-pre generic all-dist
all: plugins
plugins-pre:
mkdir -p distribution
plugins: plugins-pre all-dist
textmate-dist: textmate
cd TextMate && zip -9r ../distribution/sparkup-textmate-${VERSION}.zip . && cd ..
vim-dist: vim
cd vim && zip -9r ../distribution/sparkup-vim-${VERSION}.zip . && cd ..
generic-dist: generic
cd generic && zip -9r ../distribution/sparkup-generic-${VERSION}.zip . && cd ..
all-dist:
zip -9r distribution/sparkup-${VERSION}.zip generic vim textmate README.md -x */sparkup-readme.txt
cp distribution/sparkup-${VERSION}.zip distribution/sparkup-latest.zip
generic:
cat sparkup.py > generic/sparkup
chmod +x generic/sparkup
#cp ${README} generic/sparkup-readme.txt
textmate:
mkdir -p TextMate/Sparkup.tmbundle/Support
cp ${SPARKUP_PY} TextMate/Sparkup.tmbundle/Support/sparkup.py
#cp ${README} TextMate/sparkup-readme.txt
vim:
mkdir -p vim/ftplugin/html vim/doc
cp ${SPARKUP_PY} vim/ftplugin/html/sparkup.py
# Add asteriks to title, so it gets matched by `:helptags`
sed '1s/.*/*\0*/' ${README} > vim/doc/sparkup.txt
Jump to Line
Something went wrong with that request. Please try again.