Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 31 lines (23 sloc) 0.906 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
PREFIX = /usr/local
VIMDIR = $(PREFIX)/share/vim
BINDIR = $(PREFIX)/bin

VERSION=1.8.23
REVISION=$(shell svn info -r HEAD 2>/dev/null| head -n 5 | tail -n 1 | cut -d" " -f2)
DATE = $(shell date +%Y%m%d)

SNAPSHOTNAME = vim-latex-$(VERSION)-$(DATE)-r$(REVISION)

snapshot:
rm -rf -- ./$(SNAPSHOTNAME)
svn export -r HEAD . $(SNAPSHOTNAME)
make -C $(SNAPSHOTNAME)/doc
tar cvzf ./$(SNAPSHOTNAME).tar.gz ./$(SNAPSHOTNAME)
rm -rf -- ./$(SNAPSHOTNAME)

install:
install -d "$(DESTDIR)$(VIMDIR)/doc"
install -m 0644 doc/*.txt "$(DESTDIR)$(VIMDIR)/doc"

install -d "$(DESTDIR)$(VIMDIR)"
cp -R compiler ftplugin indent plugin "$(DESTDIR)$(VIMDIR)"
chmod 0755 "$(DESTDIR)$(VIMDIR)/ftplugin/latex-suite/outline.py"

install -d "$(DESTDIR)$(BINDIR)"
install latextags ltags "$(DESTDIR)$(BINDIR)"

upload: snapshot
scp "$(SNAPSHOTNAME).tar.gz" frs.sourceforge.net:/home/frs/project/v/vi/vim-latex/snapshots
Something went wrong with that request. Please try again.