Update of /cvsroot/vim-latex/vimfiles
In directory usw-pr-cvs1:/tmp/cvs-serv19501
Modified Files:
makefile
Log Message:
. merged the zip2tar target into the main target. Dont see why the tar.gz
file should not be created every time the .zip file is.
Index: makefile
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** makefile 2 Nov 2002 03:42:28 -0000 1.4
--- makefile 2 Nov 2002 09:41:38 -0000 1.5
***************
*** 1,10 ****
latexs:
- # set of latex-tools for latex.
# plugins:
zip latexSuite.zip plugin/imaps.vim
zip latexSuite.zip plugin/SyntaxFolds.vim
zip latexSuite.zip plugin/libList.vim
! # ftplugins and others.
zip latexSuite.zip ftplugin/tex_latexSuite.vim
zip -R latexSuite.zip `find ftplugin/latex-suite -name '*' | grep -v CVS`
# documentation
--- 1,18 ----
+ ifndef CVSUSER
+ CVSUSER := srinathava
+ endif
+ DIR1 = $(PWD)
+
+ # The main target. This creates a latex suite archive (zip and tar.gz
+ # format) ensuring that all the files in the archive are in unix format so
+ # unix people can use it too...
latexs:
# plugins:
zip latexSuite.zip plugin/imaps.vim
zip latexSuite.zip plugin/SyntaxFolds.vim
zip latexSuite.zip plugin/libList.vim
! # ftplugins
zip latexSuite.zip ftplugin/tex_latexSuite.vim
+ # files in the latex-suite directory. Skip the CVS files.
zip -R latexSuite.zip `find ftplugin/latex-suite -name '*' | grep -v CVS`
# documentation
***************
*** 16,39 ****
# external tools
zip latexSuite.zip ltags
! make -s zip2tar
! zip2tar:
! # copy over zip file to temp dir.
mkdir -p $(TMP)/latexSuite0793
cp latexSuite.zip $(TMP)/latexSuite0793/
- # now unzip the .zip file there, and create a .tar.gz file from the
- # directory contents.
( \
cd $(TMP)/latexSuite0793/ ; \
unzip -o latexSuite.zip ; \
\rm latexSuite.zip ; \
! tar cvzf latexSuite.tar.gz * \
)
! \mv $(TMP)/latexSuite0793/latexSuite.tar.gz ./
clean:
rm -f latexSuite.zip
ltt:
rm -rf /tmp/ltt/vimfiles/ftplugin
cp -f latexSuite.zip /tmp/ltt/vimfiles/
cd /tmp/ltt/vimfiles; unzip latexSuite.zip
upload:
pscp latexSuite.* $(CVSUSER)@vim-latex.sf.net:/home/groups/v/vi/vim-latex/htdocs/download/
--- 24,51 ----
# external tools
zip latexSuite.zip ltags
!
! # Now to make a tar.gz file from the .zip file.
mkdir -p $(TMP)/latexSuite0793
cp latexSuite.zip $(TMP)/latexSuite0793/
( \
cd $(TMP)/latexSuite0793/ ; \
unzip -o latexSuite.zip ; \
\rm latexSuite.zip ; \
! tar cvzf latexSuite.tar.gz * ; \
! \mv latexSuite.tar.gz $(DIR1)/ ; \
)
!
! # target for removing archive files.
clean:
rm -f latexSuite.zip
+ rm -f latexSuite.tar.gz
+
+ # make a local install directory.
ltt:
rm -rf /tmp/ltt/vimfiles/ftplugin
cp -f latexSuite.zip /tmp/ltt/vimfiles/
cd /tmp/ltt/vimfiles; unzip latexSuite.zip
+
+ # upload the archives to the web.
upload:
pscp latexSuite.* $(CVSUSER)@vim-latex.sf.net:/home/groups/v/vi/vim-latex/htdocs/download/
|