~rogpeppe/juju-core/azure

« back to all changes in this revision

Viewing changes to environs/Makefile

  • Committer: Roger Peppe
  • Date: 2011-12-15 18:54:31 UTC
  • mfrom: (19.5.4 go-juju-ec2-operations)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: roger.peppe@canonical.com-20111215185431-tjuxi6bmg1mswcwg
renameĀ environ->environs

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include $(GOROOT)/src/Make.inc
 
2
 
 
3
all: package
 
4
 
 
5
TARG=launchpad.net/juju/go/environs
 
6
 
 
7
GOFILES=\
 
8
        open.go\
 
9
        config.go\
 
10
        interface.go\
 
11
 
 
12
GOFMT=gofmt
 
13
BADFMT:=$(shell $(GOFMT) -l $(GOFILES) $(CGOFILES) $(wildcard *_test.go))
 
14
 
 
15
gofmt: $(BADFMT)
 
16
        @for F in $(BADFMT); do $(GOFMT) -w $$F && echo $$F; done
 
17
 
 
18
ifneq ($(BADFMT),)
 
19
ifneq ($(MAKECMDGOALS),gofmt)
 
20
$(warning WARNING: make gofmt: $(BADFMT))
 
21
endif
 
22
endif
 
23
 
 
24
include $(GOROOT)/src/Make.pkg
 
25