From: olivier <> Date: Thu, 16 Apr 2009 18:16:59 +0000 (+0000) Subject: eztelemeta: add a 'make list' target to check the files that are and aren't distributed X-Git-Tag: 1.1~644 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e82046ff68bf9ea6fc7166e21e7832b99d5989c7;p=telemeta.git eztelemeta: add a 'make list' target to check the files that are and aren't distributed --- diff --git a/tools/eztelemeta/Makefile b/tools/eztelemeta/Makefile index 0567403d..c9b9f5c0 100644 --- a/tools/eztelemeta/Makefile +++ b/tools/eztelemeta/Makefile @@ -54,4 +54,19 @@ clean: VERSION: echo $(VERSION) > $@ +.PHONY: list +list: doc $(DISTFILES) + @echo "------------------" + @echo "Distributed files:" + @echo "------------------" + @echo $(DISTFILES) | tr ' ' '\n' > cmp.tmp + @cat cmp.tmp + @echo + @echo "--------------------" + @echo "Undistributed files:" + @echo "--------------------" + @find -type f | grep -v svn | grep -v 'swp$$' | sed 's/^\.\///' >> cmp.tmp + @cat cmp.tmp | sort | uniq -u | grep -v 'cmp.tmp' + @rm cmp.tmp + # vim: set noexpandtab: ts=2: sw=2: