From e82046ff68bf9ea6fc7166e21e7832b99d5989c7 Mon Sep 17 00:00:00 2001 From: olivier <> Date: Thu, 16 Apr 2009 18:16:59 +0000 Subject: [PATCH] eztelemeta: add a 'make list' target to check the files that are and aren't distributed --- tools/eztelemeta/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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: -- 2.39.5