summaryrefslogtreecommitdiff
path: root/Build/cdbuild/Check
diff options
context:
space:
mode:
Diffstat (limited to 'Build/cdbuild/Check')
-rw-r--r--Build/cdbuild/Check27
1 files changed, 27 insertions, 0 deletions
diff --git a/Build/cdbuild/Check b/Build/cdbuild/Check
new file mode 100644
index 00000000000..ed4bee39608
--- /dev/null
+++ b/Build/cdbuild/Check
@@ -0,0 +1,27 @@
+rm files.*
+R=/texlive/Master
+:>files.lists.x
+for i in `find $R/texmf/lists -type f `
+do
+ grep -v "^/" $i | awk '{print $1}' >> files.lists.x
+done
+sort < files.lists.x | uniq | awk '{print $1}' | sed '/^$/d' > files.lists
+sort < files.lists.x | awk '{print $1}' | sed '/^$/d' > files.lists.all
+diff files.lists files.lists.all | grep ">" > files.lists.dupl
+rm files.lists.x
+P=`pwd`
+(cd $R; find texmf -type f >> $P/files.find.x)
+(cd $R; find texmf-doc -type l >> $P/files.find.x)
+(cd $R; find texmf-doc -type f >> $P/files.find.x)
+(cd $R; find texmf-dist -type l >> $P/files.find.x)
+(cd $R; find texmf-dist -type f >> $P/files.find.x)
+(cd $R; find bin -type l >> $P/files.find.x)
+(cd $R; find bin -type f >> $P/files.find.x)
+(cd $R; find info -type f >> $P/files.find.x)
+(cd $R; find readme.html >> $P/files.find.x)
+(cd $R; find man -type l >> $P/files.find.x)
+(cd $R; find man -type f >> $P/files.find.x)
+sort < files.find.x > files.find
+rm files.find.x
+comm -23 files.find files.lists > files.find.only
+comm -13 files.find files.lists > files.lists.only