Revision: 3264
          http://spambayes.svn.sourceforge.net/spambayes/?rev=3264&view=rev
Author:   montanaro
Date:     2010-04-02 01:51:56 +0000 (Fri, 02 Apr 2010)

Log Message:
-----------
Update for the new way SF does rsync.  Current first attempt requires the
person doing the install to give their SF login as the value of the
make/environment variable SFUSER.  For example:

    make install SFUSER=montanaro

If you don't set SFUSER it complains loudly.

Modified Paths:
--------------
    trunk/website/scripts/make.rules

Modified: trunk/website/scripts/make.rules
===================================================================
--- trunk/website/scripts/make.rules    2010-04-01 10:15:38 UTC (rev 3263)
+++ trunk/website/scripts/make.rules    2010-04-02 01:51:56 UTC (rev 3264)
@@ -20,9 +20,9 @@
 
 # Where to upload stuff for make install.  LIVE_ROOT is the actual
 # physical location of files on the server.
-LIVE_HOST =    shell1.sourceforge.net
-LIVE_ROOT =    /home/groups/s/sp/spambayes/htdocs/
-LIVE_DEST =    $(LIVE_HOST):$(LIVE_ROOT)/$(ROOT_OFFSET)
+LIVE_HOST =    web.sourceforge.net
+LIVE_ROOT =    htdocs
+LIVE_DEST =    $(SFUSER),spamba...@$(LIVE_HOST):$(LIVE_ROOT)/$(ROOT_OFFSET)
 
 # rsync definitions.
 RSYNC_RSH =    ssh
@@ -81,6 +81,11 @@
        -rm $(GENERATED_HTML)
 
 install: all local_install
+       @if [ -z "$(SFUSER)" ]; then \
+         echo "You have to specify a SourceForge username in SFUSER"; \
+         echo "e.g., make install SFUSER=montanaro"; \
+         false; \
+       fi
        @if [ -z "$(ROOT_OFFSET)" ]; then \
          echo "You have to specify a value for 'ROOT_OFFSET' in the 
makefile!"; \
          false; \


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
_______________________________________________
Spambayes-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/spambayes-checkins

Reply via email to