- added rpm building to maintainer/release scripts
[barry.git] / buildgen.sh
bloba4f67f61829bd2029df8f8ca2d617a9c329e0b48
1 #!/bin/sh
4 # Generates the build system.
7 if [ "$1" = "cleanall" ] ; then
8 (cd gui && make distclean)
9 (cd gui && ./buildgen.sh clean)
10 (cd opensync-plugin && make distclean)
11 (cd opensync-plugin && ./buildgen.sh clean)
12 make distclean
13 ./buildgen.sh clean
14 elif [ "$1" = "clean" ] ; then
15 rm -rf autom4te.cache
16 rm -f Makefile.in aclocal.m4 config.guess config.h.in config.sub \
17 configure depcomp install-sh ltmain.sh missing \
18 src/Makefile.in tools/Makefile.in examples/Makefile.in \
19 man/Makefile.in
20 # clean up Debian build trails
21 rm -rf debian/barry
22 rm -f build-arch-stamp build-indep-stamp configure-stamp \
23 debian/barry.substvars debian/files \
24 tools/bcharge
25 else
26 autoreconf -if
27 #autoreconf -ifv