~nskaggs/+junk/xenial-test

« back to all changes in this revision

Viewing changes to src/gopkg.in/amz.v3/exp/sns/Makefile

  • Committer: Nicholas Skaggs
  • Date: 2016-10-24 20:56:05 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161024205605-z8lta0uvuhtxwzwl
Initi with beta15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include $(GOROOT)/src/Make.inc
 
2
 
 
3
TARG=launchpad.net/goamz/sns
 
4
 
 
5
GOFILES=\
 
6
                sns.go\
 
7
                sign.go\
 
8
 
 
9
include $(GOROOT)/src/Make.pkg
 
10
 
 
11
GOFMT=gofmt
 
12
BADFMT=$(shell $(GOFMT) -l $(GOFILES) 2> /dev/null)
 
13
 
 
14
gofmt: $(BADFMT)
 
15
        @for F in $(BADFMT); do $(GOFMT) -w $$F && echo $$F; done
 
16
 
 
17
ifneq ($(BADFMT),)
 
18
ifneq ($(MAKECMDGOALS), gofmt)
 
19
#$(warning WARNING: make gofmt: $(BADFMT))
 
20
endif
 
21
endif