This would have found a .gitignore file recently added to the distribution.
CC: Markos Chandras <[email protected]> CC: Alin Gabriel Serdean <[email protected]> Signed-off-by: Ben Pfaff <[email protected]> --- Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index cdf42d3ad244..90f5c0353811 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -# Copyright (C) 2007-2016 Nicira, Inc. +# Copyright (C) 2007-2017 Nicira, Inc. # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright @@ -203,6 +203,11 @@ dist-hook-git: distfiles cat missing-distfiles; \ exit 1; \ fi; \ + if LC_ALL=C grep '\.gitignore$$' all-distfiles; then \ + echo "See above for list of files that are distributed but"; \ + echo "should not be."; \ + exit 1; \ + fi \ fi CLEANFILES += all-distfiles all-gitfiles missing-distfiles # The following is based on commands for the Automake "distdir" target. -- 2.10.2 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
