From f3382db438c667faba594a36eeedd030d990aa5c Mon Sep 17 00:00:00 2001 From: Srinath Avadhanula Date: Mon, 6 Jan 2003 10:10:18 +0000 Subject: [PATCH] - removing the betaup target. - adding a release: target and uphtdocs: target. As of now, both of these have hardcoded srinathava@vim-latex. If someone wants this to change, let me know. The release: target is meant to take care of the annoying problem where every once in a while, releases made via my computer generate CRLF style files. Doing a release via SF should eliminate this problem. - uphtdocs is a way of synchronizing the latex-suite webpage with the latest CVS snapshot. --- makefile | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/makefile b/makefile index 5eb0f7e..0a5c7bb 100755 --- a/makefile +++ b/makefile @@ -47,12 +47,39 @@ ltt: 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/ +# This target is related to a script I have on my sf.net account. That +# script looks like: +# +# #!/bin/bash +# cd ~/testing/vimfiles; \ +# cvs -q update; \ +# make clean; \ +# make; \ +# cp latexsuite.* ~/htdocs/download/ +# +# Doing a release via sf.net has a couple of advantages: +# - I do not have to bother with CRLF pain anymore because the copy on +# sf.net will always have unix style EOLs. +# - The process is much faster because I only need to communicate a command +# from my computer to sf.net. The rest is done locally on the sf.net +# server. +release: + plink srinathava@vim-latex.sf.net /home/users/s/sr/srinathava/bin/upload -betaup: - pscp latexSuite.zip $(CVSUSER)@vim-latex.sf.net:/home/groups/v/vi/vim-latex/htdocs/download/latexSuite-beta.zip +# This is another target akin to the release: target. This target updates +# the htdocs directory of the latex-suite project to the latest CVS +# version. +# This is again related to the uphtdocs script on my sf.net account which +# looks like: +# #!/bin/sh +# +# # update the htdocs directory +# cd /home/groups/v/vi/vim-latex/htdocs; cvs -q update +# # update the packages directory +# cd /home/groups/v/vi/vim-latex/htdocs/packages; cvs -q update +uphtdocs: + plink srinathava@vim-latex.sf.net /home/users/s/sr/srinathava/bin/uphtdocs + # rsync is like cp (copy) on steroids. Here are some useful options: # -C auto ignore like CVS