[Vim-latex-cvs] SF.net SVN: vim-latex: [1028] trunk/vimfiles/Makefile
Brought to you by:
srinathava,
tmaas
From: <tm...@us...> - 2008-05-29 20:19:05
|
Revision: 1028 http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1028&view=rev Author: tmaas Date: 2008-05-29 13:19:06 -0700 (Thu, 29 May 2008) Log Message: ----------- - new simple Makefile for snapshot.tgz creation and usage in distributions Added Paths: ----------- trunk/vimfiles/Makefile Added: trunk/vimfiles/Makefile =================================================================== --- trunk/vimfiles/Makefile (rev 0) +++ trunk/vimfiles/Makefile 2008-05-29 20:19:06 UTC (rev 1028) @@ -0,0 +1,24 @@ +VIMDIR = /usr/share/vim +BINDIR = /usr/bin + +VERSION=1.5 + +DATE = $(shell date +%Y%m%d) +SNAPSHOTNAME = vim-latex-$(VERSION)-$(DATE) + +snapshot: + rm -rf -- ./$(SNAPSHOTNAME) + svn export . $(SNAPSHOTNAME) + tar cvzf ./$(SNAPSHOTNAME).tgz ./$(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)" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |