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 -'
26 # if [ -f Makefile ];then touch ChangeLog;make maintainer-clean;fi
30 `find po -type f -not '(' -name POTFILES.in -o -name "*.po" -o -path "po/CVS*" ')'` \
75 if [ "$1" = clean ];then exit;fi
80 cp getopt.c getopt.h getopt1.c $d
83 cp need-declaration.m4 $d
85 cp strdup.c usleep.c memmove.c $d
92 automake --gnu -c --add-missing
94 cp $HOME/src/misc/LGPL2.1 COPYING
95 ed po/Makefile.in.in <<HERE
96 ,s/prefix = @/prefix = \$(DESTDIR)@/g
102 if [ "$1" = dist ];then
105 ./configure $CONFDEFS