Revision 438ce535 Makefile.am

b/Makefile.am
285 285

  
286 286
GENERATED_FILES = \
287 287
	$(built_base_sources) \
288
	$(BUILT_PYTHON_SOURCES) \
288
	$(built_python_sources) \
289 289
	$(PYTHON_BOOTSTRAP) \
290 290
	$(gnt_python_sbin_SCRIPTS)
291 291

  
......
307 307
	lib/opcodes.py \
308 308
	lib/rpc/stub/wconfd.py
309 309

  
310
BUILT_PYTHON_SOURCES = \
310
built_python_sources = \
311 311
	$(nodist_pkgpython_PYTHON) \
312 312
	$(nodist_pkgpython_rpc_stub_PYTHON)
313 313

  
......
863 863
	configure.ac $(RUN_IN_TEMPDIR) lib/build/sphinx_ext.py \
864 864
	lib/build/shell_example_lexer.py lib/ht.py \
865 865
	doc/css/style.css lib/rapi/connector.py lib/rapi/rlib2.py \
866
	autotools/sphinx-wrapper | $(BUILT_PYTHON_SOURCES)
866
	autotools/sphinx-wrapper | $(built_python_sources)
867 867
	@test -n "$(SPHINX)" || \
868 868
	    { echo 'sphinx-build' not found during configure; exit 1; }
869 869
if !MANPAGES_IN_DOC
......
1057 1057
# for the test/hs/htest binary, we need to enable profiling/coverage
1058 1058
test/hs/htest: HCOVERAGE = true
1059 1059
test/hs/htest: HFLAGS += -itest/hs
1060
test/hs/htest: | $(BUILT_PYTHON_SOURCES)
1060
test/hs/htest: | $(built_python_sources)
1061 1061

  
1062 1062
# we compile the hpc-htools binary with the program coverage
1063 1063
test/hs/hpc-htools: HCOVERAGE = true
......
1739 1739

  
1740 1740
man/%.gen: man/%.rst lib/query.py lib/build/sphinx_ext.py \
1741 1741
	lib/build/shell_example_lexer.py \
1742
	| $(RUN_IN_TEMPDIR) $(BUILT_PYTHON_SOURCES)
1742
	| $(RUN_IN_TEMPDIR) $(built_python_sources)
1743 1743
	@echo "Checking $< for hardcoded paths..."
1744 1744
	@if grep -nEf autotools/wrong-hardcoded-paths $<; then \
1745 1745
	  echo "Man page $< has hardcoded paths (see above)!" 1>&2 ; \
......
2183 2183
PEP8_IGNORE = E111,E121,E123,E125,E127,E261,E501
2184 2184

  
2185 2185
# For excluding pep8 expects filenames only, not whole paths
2186
PEP8_EXCLUDE = $(subst $(space),$(comma),$(strip $(notdir $(BUILT_PYTHON_SOURCES))))
2186
PEP8_EXCLUDE = $(subst $(space),$(comma),$(strip $(notdir $(built_python_sources))))
2187 2187

  
2188 2188
LINT_TARGETS = pylint pylint-qa pylint-test
2189 2189
if HAS_PEP8

Also available in: Unified diff