2 # Run this to generate all the initial makefiles, etc.
6 # /lib/gconv/ISO8859-2.so is apparently clashing with EFence. :-(
7 CONFDEFS="--enable-maintainer-mode --enable-debug --without-efence"
9 if [ "$1" = rpm -o "$1" = rpmup ];then
13 cp mdsms-[0-9]*.tar.gz /usr/src/redhat/SOURCES
14 rpm -ba --sign mdsms.spec
16 rm /usr/src/redhat/SOURCES/mdsms-[0-9]*.tar.gz
17 mv /usr/src/redhat/SRPMS/mdsms-[0-9]*-*.src.rpm .
18 mv /usr/src/redhat/RPMS/i386/mdsms-[0-9]*-*.i386.rpm .
20 if [ "$1" = rpm ];then exit;fi
21 echo "Uploading $[`cat mdsms-[0-9]*|wc -c`] bytes..."
22 # tar cf - mdsms-[0-9]*|ssh twilight ssh atrey.karlin.mff.cuni.cz 'cd WWW/sw\;tar xvvf -'
23 scp -v mdsms-[0-9]* atrey.karlin.mff.cuni.cz:WWW/sw/
27 # if [ -f Makefile ];then touch ChangeLog;make maintainer-clean;fi
31 `find po -type f -not '(' -name POTFILES.in -o -name "*.po" -o -path "po/CVS*" ')'` \
76 if [ "$1" = clean ];then exit;fi
81 cp getopt.c getopt.h getopt1.c $d
84 cp need-declaration.m4 $d
86 cp strdup.c usleep.c memmove.c $d
93 automake --gnu -c --add-missing
95 cp $HOME/src/misc/LGPL2.1 COPYING
96 ed po/Makefile.in.in <<HERE
97 ,s/prefix = @/prefix = \$(DESTDIR)@/g
103 if [ "$1" = dist ];then
106 ./configure $CONFDEFS