X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/8379e6f510749e24caa8d52b1aaae6bc5877bf91..cccb7f09e28f348e9273467cc8e410ad13283165:/makedist.sh diff --git a/makedist.sh b/makedist.sh index ae7b86a..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 @@ -41,8 +42,13 @@ halibut --text=HACKING devel.but for i in *.c *.m *.h *.R *.but *.plist *.icns LICENCE README Recipe \ mkfiles.pl Makefile Makefile.* \ - HACKING puzzles.txt puzzles.hlp puzzles.cnt; do - ln -s ../../$i tmp.$$/puzzles$arcsuffix + 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 + 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