Revision e4e7c7df Makefile.am

b/Makefile.am
340 340
all_python_code = \
341 341
	$(dist_sbin_SCRIPTS) \
342 342
	$(dist_tools_SCRIPTS) \
343
	$(dist_TESTS) \
344 343
	$(pkgpython_PYTHON) \
345 344
	$(hypervisor_PYTHON) \
346 345
	$(rapi_PYTHON) \
......
348 347
	$(confd_PYTHON) \
349 348
	$(noinst_PYTHON)
350 349

  
350
all_python_code_with_tests = \
351
	$(all_python_code) \
352
	$(dist_TESTS)
353

  
351 354
srclink_files = \
352 355
	man/footer.sgml \
353
	$(all_python_code)
356
	$(all_python_code_with_tests)
354 357

  
355 358
check_python_code = \
356
	autotools/build-bash-completion \
359
	$(BUILD_BASH_COMPLETION) \
360
	$(all_python_code_with_tests)
361

  
362
lint_python_code = \
363
	$(BUILD_BASH_COMPLETION) \
357 364
	$(all_python_code)
358 365

  
359 366
devel/upload: devel/upload.in $(REPLACE_VARS_SED)
......
477 484

  
478 485
.PHONY: lint
479 486
lint: ganeti
480
	pylint $(LINT_OPTS) ganeti $(dist_sbin_SCRIPTS) $(dist_tools_SCRIPTS)
487
	pylint $(LINT_OPTS) $(lint_python_code)
481 488

  
482 489
# a dist hook rule for catching revision control directories
483 490
distcheck-hook:

Also available in: Unified diff