~dobey/ubuntuone-client/py-only

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Tarmac
  • Author(s): Rodney Dawes
  • Date: 2013-05-29 15:50:50 UTC
  • mfrom: (1394.1.1 fix-lint)
  • Revision ID: tarmac-20130529155050-nfyl70vxrquju9rg
Remove the pylintrc as we don't need it any longer.
Ignore the pyinotify_agnostic.py when running lint checks.
Don't re-export tools/credentials in the same namespace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        -e 's|\@SSO_PING_URL\@|$(SSO_PING_URL)|g' \
39
39
        -e 's|\@VERSION\@|$(VERSION)|g' < $< > $@
40
40
 
41
 
pylintrc: Makefile
42
 
        if test "x$(builddir)" != "x$(srcdir)"; then \
43
 
                if [ ! -e pylintrc -a ! -h pylintrc ]; then \
44
 
                        $(LN_S) $(srcdir)/pylintrc; \
45
 
                fi; \
46
 
        fi
47
 
 
48
41
logging.conf: data/logging.conf.in Makefile
49
42
        $(MAKE) -C data logging.conf
50
43
 
51
 
lint: pylintrc $(clientdefs_DATA) Makefile
52
 
        PYTHONPATH="$(PYTHONPATH)" SRCDIR="$(srcdir)" USE_PYFLAKES="true" u1lint
 
44
lint: $(clientdefs_DATA) Makefile
 
45
        PYTHONPATH="$(PYTHONPATH)" SRCDIR="$(srcdir)" USE_PYFLAKES="true" u1lint -i ubuntuone/platform/filesystem_notifications/pyinotify_agnostic.py
53
46
 
54
47
test: logging.conf $(clientdefs_DATA) Makefile
55
48
        echo "$(PYTHONPATH)"
90
83
                (cd tests && $(LNDIR) $(srcdir)/../tests > /dev/null); \
91
84
        fi
92
85
 
93
 
all-local: pylintrc logging.conf $(clientdefs_DATA)
 
86
all-local: logging.conf $(clientdefs_DATA)
94
87
 
95
88
sd_path = ubuntuone/syncdaemon
96
89
 
141
134
        VERSION \
142
135
        bin             \
143
136
        contrib         \
144
 
        tests           \
145
 
        pylintrc
 
137
        tests
146
138
 
147
139
CLEANFILES =    \
148
140
        $(clientdefs_DATA)