2005-10-25 16:35:55 +10:00
|
|
|
#!/bin/sh
|
|
|
|
VERSION=`cat constants.h | grep VERSION | awk '{ v=$3; gsub("\"","",v); print v }'`
|
|
|
|
|
|
|
|
FULLNAME=netmapr-${VERSION}
|
|
|
|
TARFILE=${FULLNAME}.tar.gz
|
2005-10-28 16:05:57 +10:00
|
|
|
WINFILE=${FULLNAME}-win32.zip
|
2005-10-25 16:35:55 +10:00
|
|
|
|
|
|
|
mkdir ${FULLNAME}
|
2005-11-05 14:22:50 +11:00
|
|
|
cp README.txt INSTALL.txt Makefile.linux Makefile.freebsd Makefile.windows objects.dat buttons.dat netmapr.c netmapr.h constants.h convert.c convert.h icon.bmp verdana.ttf example.map ${FULLNAME}/
|
2005-11-12 13:51:37 +11:00
|
|
|
cp -R doc ${FULLNAME}/
|
2005-10-25 16:35:55 +10:00
|
|
|
tar zcvf ${TARFILE} ${FULLNAME}
|
|
|
|
rm -rf ${FULLNAME}
|
|
|
|
|
|
|
|
|
2005-10-28 16:05:57 +10:00
|
|
|
mkdir ${FULLNAME}
|
2005-11-05 14:22:50 +11:00
|
|
|
cp README.txt INSTALL.txt objects.dat buttons.dat netmapr.exe netmapr.c netmapr.h constants.h convert.c convert.h verdana.ttf example.map icon.bmp windows_files/*.dll ${FULLNAME}/
|
2005-11-12 13:51:37 +11:00
|
|
|
cp -R doc ${FULLNAME}/
|
2005-10-28 16:05:57 +10:00
|
|
|
zip -r ${WINFILE} ${FULLNAME}
|
|
|
|
rm -rf ${FULLNAME}
|