Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e128837df9
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 34 lines (21 sloc) 0.592 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
builddir = .build

VIMBALL = $(builddir)/buffer-select.vba

FILES = \
plugin/now/buffer-select.vim

MANIFEST = $(builddir)/Manifest

.PHONY: build clean install package

build: $(builddir) $(VIMBALL)

clean:
-rm $(VIMBALL) $(VIMBALL).gz $(MANIFEST) 2> /dev/null
-rmdir $(builddir) 2> /dev/null

install: build
ex -N --cmd 'set eventignore=all' -c 'so %' -c 'quit!' $(VIMBALL)

package: $(VIMBALL).gz

$(builddir):
mkdir $@

%.vba: $(MANIFEST) $(FILES)
ex -N -c "%MkVimball! $@ ." -c 'quit!' $<

%.gz: %
gzip -c $< > $@

$(MANIFEST): Makefile
for f in $(FILES); do echo $$f; done > $@
Something went wrong with that request. Please try again.