aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2006-12-27 15:49:16 +0000
committerSimon Tatham <anakin@pobox.com>2006-12-27 15:49:16 +0000
commita977d37e9d7e6c2066fe8bd4d157f1cf47668ae9 (patch)
treeb3a84482a9affde1ed0f6df69d443846444fe273
parent649df167767ed54d0fb8c888ee405567b7b68926 (diff)
downloadpuzzles-a977d37e9d7e6c2066fe8bd4d157f1cf47668ae9.zip
puzzles-a977d37e9d7e6c2066fe8bd4d157f1cf47668ae9.tar.gz
puzzles-a977d37e9d7e6c2066fe8bd4d157f1cf47668ae9.tar.bz2
puzzles-a977d37e9d7e6c2066fe8bd4d157f1cf47668ae9.tar.xz
Er, further makedist fixes. Helps if you test _before_ checkin.
[originally from svn r7025]
-rwxr-xr-xmakedist.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/makedist.sh b/makedist.sh
index 1afaed2..4e695b6 100755
--- a/makedist.sh
+++ b/makedist.sh
@@ -32,6 +32,7 @@ perl mkfiles.pl
mkdir tmp.$$
mkdir tmp.$$/puzzles$arcsuffix
+mkdir tmp.$$/puzzles$arcsuffix/icons
# Build Windows Help and text versions of the manual for convenience.
halibut --winhelp=puzzles.hlp --text=puzzles.txt puzzles.but
@@ -44,7 +45,10 @@ for i in *.c *.m *.h *.R *.but *.plist *.icns LICENCE README Recipe \
HACKING puzzles.txt puzzles.hlp puzzles.cnt puzzles.chm \
icons/Makefile icons/*.{sav,pl,sh} icons/win16pal.xpm \
icons/*.png icons/*.ico icons/*.rc icons/*.c; do
- ln -s ../../$i tmp.$$/puzzles$arcsuffix
+ case $i in
+ */*) ln -s ../../../$i tmp.$$/puzzles$arcsuffix/$i;;
+ *) ln -s ../../$i tmp.$$/puzzles$arcsuffix/$i;;
+ esac
if test "x$ver" != "x"; then
md5sum $i >> tmp.$$/puzzles$arcsuffix/manifest
fi