Changeset 51


Ignore:
Timestamp:
05/04/2010 22:42:43 (4 months ago)
Author:
douglas
Message:

Upload to me!

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GNUmakefile

    r50 r51  
    77ifeq ($(OS),Windows_NT) 
    88setup := python setup.py 
     9chmod := --chmod=u+rw,go+r,Da+x,Fa-x 
     10PATH :=$(PATH);C:\\cygwin\\bin 
    911else 
    1012setup := $(CURDIR)/setup.py 
     13chmod := 
    1114endif 
     15 
     16upload = $(wildcard dist/$(shell $(setup) --fullname)*) 
     17server := backless.douglasthrift.net 
     18base := DouglasThrift.net/APT 
     19target := $(base)/data/files/$(shell $(setup) --name) 
     20stamp = $(patsubst dist/%,$(target)/%,$(upload)) 
    1221 
    1322.PHONY: all binary build clean register source upload 
     
    3645        $(setup) sdist --formats bztar,gztar,zip upload -s 
    3746endif 
     47 
     48upload: 
     49        rsync -Pptv $(chmod) $(upload) $(server):$(target) 
     50        ssh $(server) "$(base)/bin/apt-stamp update $(stamp)" 
  • trunk/makefile

    r36 r51  
    1919register: 
    2020        mingw32-make $@ 
     21 
     22upload: 
     23        mingw32-make $@ 
Note: See TracChangeset for help on using the changeset viewer.