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 -name ".cvsignore" -o -path "po/CVS*" ')'` \
78 if [ "$1" = clean ];then exit;fi
83 cp getopt.c getopt.h getopt1.c $d
86 cp need-declaration.m4 $d
88 cp strdup.c usleep.c memmove.c $d
95 automake --gnu -c --add-missing
97 cp $HOME/src/misc/LGPL2.1 COPYING
98 ed po/Makefile.in.in <<HERE
99 ,s/prefix = @/prefix = \$(DESTDIR)@/g
105 if [ "$1" = dist ];then
108 ./configure $CONFDEFS