ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/dtflickr/trunk/GNUmakefile
(Generate patch)

Comparing trunk/GNUmakefile (file contents):
Revision 50 by douglas, 2010-05-04T22:58:16-07:00 vs.
Revision 51 by douglas, 2010-05-04T23:42:43-07:00

# Line 6 | Line 6
6  
7   ifeq ($(OS),Windows_NT)
8   setup := python setup.py
9 + chmod := --chmod=u+rw,go+r,Da+x,Fa-x
10 + PATH :=$(PATH);C:\\cygwin\\bin
11   else
12   setup := $(CURDIR)/setup.py
13 + chmod :=
14   endif
15  
16 + upload = $(wildcard dist/$(shell $(setup) --fullname)*)
17 + server := backless.douglasthrift.net
18 + base := DouglasThrift.net/APT
19 + target := $(base)/data/files/$(shell $(setup) --name)
20 + stamp = $(patsubst dist/%,$(target)/%,$(upload))
21 +
22   .PHONY: all binary build clean register source upload
23  
24   all: build
# Line 35 | Line 44 | ifneq ($(OS),Windows_NT)
44   source:
45          $(setup) sdist --formats bztar,gztar,zip upload -s
46   endif
47 +
48 + upload:
49 +        rsync -Pptv $(chmod) $(upload) $(server):$(target)
50 +        ssh $(server) "$(base)/bin/apt-stamp update $(stamp)"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines