Revision c6aa0c42

b/Makefile.am
451 451

  
452 452
# a dist hook rule for catching revision control directories
453 453
distcheck-hook:
454
	if find $(top_distdir) | grep -F -e '.svn' -e '.git'; then \
455
		echo "Found revision control files in final archive" 1>&2 ; \
454
	if find $(top_distdir) -name .svn -or -name .git | grep .; then \
455
		echo "Found revision control files in final archive." 1>&2; \
456
		exit 1; \
457
	fi
458
	if find $(top_distdir) -name '*.py[co]' | grep .; then \
459
		echo "Found Python byte code in final archive." 1>&2; \
460
		exit 1; \
461
	fi
462
	if find $(top_distdir) -name '*~' | grep .; then \
463
		echo "Found backup files in final archive." 1>&2; \
456 464
		exit 1; \
457 465
	fi
458 466

  

Also available in: Unified diff