Sebastian Kuschel reports that pfd_closing can be called for a socket
[u/mdw/putty] / mksrcarc.sh
CommitLineData
8c09f186 1#!/bin/sh
2perl mkfiles.pl
9ca4b2bb 3# These are text files.
8c09f186 4text=`{ find . -name CVS -prune -o \
5 -name .cvsignore -prune -o \
4494be0a 6 -name .svn -prune -o \
8c09f186 7 -name LATEST.VER -prune -o \
8 -name CHECKLST.txt -prune -o \
9 -name mksrcarc.sh -prune -o \
10 -name '*.dsp' -prune -o \
11 -name '*.dsw' -prune -o \
12 -type f -print | sed 's/^\.\///'; } | \
28a2368f 13 grep -ivE 'testdata/.*\.txt|MODULE|putty.iss|website.url' | grep -vF .ico | grep -vF .icns`
9ca4b2bb 14# These are files which I'm _sure_ should be treated as text, but
15# which zip might complain about, so we direct its moans to
16# /dev/null! Apparently its heuristics are doubtful of UTF-8 text
17# files.
18bintext=testdata/*.txt
19# These are actual binary files which we don't want transforming.
28a2368f 20bin=`{ ls -1 windows/*.ico windows/putty.iss windows/website.url macosx/*.icns; \
8c09f186 21 find . -name '*.dsp' -print -o -name '*.dsw' -print; }`
22zip -k -l putty-src.zip $text > /dev/null
208a0f09 23zip -k -l putty-src.zip $bintext > /dev/null 2>&1
8c09f186 24zip -k putty-src.zip $bin > /dev/null