ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/dtflickr/trunk/GNUmakefile
Revision: 42
Committed: 2009-09-14T23:22:36-07:00 (15 years, 9 months ago) by douglas
Content type: text/x-makefile
File size: 548 byte(s)
Log Message:
Only make Windows installers on Windows.

File Contents

# Content
1 # DT Flickr
2 #
3 # Douglas Thrift
4 #
5 # $Id$
6
7 ifeq ($(OS),Windows_NT)
8 setup := python setup.py
9 else
10 setup := $(CURDIR)/setup.py
11 endif
12
13 .PHONY: all binary build clean register source
14
15 all: build
16
17 binary:
18 ifneq ($(OS),Windows_NT)
19 $(setup) bdist --formats egg
20 else
21 $(setup) bdist_wininst -p win32 --user-access-control auto
22 $(setup) bdist_wininst -p win-amd64 --user-access-control auto
23 endif
24
25 build:
26 $(setup) build
27
28 clean:
29 $(setup) clean
30
31 register:
32 $(setup) register
33
34 ifneq ($(OS),Windows_NT)
35 source:
36 $(setup) sdist --formats bztar,gztar,zip
37 endif

Properties

Name Value
svn:keywords Id
svn:mime-type text/x-makefile