5 libtoolize
--force --copy && \
7 automake
--add-missing --copy --foreign && \
12 # Generates the build system.
15 if [ "$1" = "cleanall" ] ; then
17 (cd gui
&& make distclean
)
18 (cd opensync-plugin
&& make distclean
)
20 (cd gui
&& .
/buildgen.sh clean
)
21 (cd opensync-plugin
&& .
/buildgen.sh clean
)
22 elif [ "$1" = "clean" ] ; then
24 rm -f Makefile.
in aclocal.
m4 config.guess config.h.
in config.sub \
25 configure depcomp install-sh ltmain.sh missing \
26 src
/Makefile.
in tools
/Makefile.
in examples
/Makefile.
in \
27 man
/Makefile.
in INSTALL config.h.
in~
28 # clean up Debian build trails
30 rm -f build-arch-stamp build-indep-stamp configure-stamp \
31 debian
/barry.substvars debian
/files \
33 # clean up ctags trails
34 rm -f src
/tags tools
/tags examples
/tags \
35 gui
/src
/tags opensync-plugin
/src
/tags
36 elif [ "$1" = "ctags" ] ; then
37 echo "Building ctags..."
39 (cd tools
&& ctags
-R)
40 (cd examples
&& ctags
-R)
41 (cd gui
/src
&& ctags
-R)
42 (cd opensync-plugin
/src
&& ctags
-R)
43 # and one with everything
44 ctags
-R -f ~
/tags-barry
--tag-relative=yes
45 # add opensync library as well (yes, I know this only works for my
47 #OS_DIR=~/software/opensync/svn
48 OS_DIR
=~
/software
/opensync
/0.22
49 if [ -d $OS_DIR ] ; then
50 echo "Detected opensync source tree, building ctags on it..."
51 (cd $OS_DIR && ctags
-R -a -f ~
/tags-barry
--tag-relative=yes)
54 #autoreconf -if --include=config
55 #autoreconf -ifv --include=config
57 # autoreconf doesn't seem to support custom .m4 files in config/ (???)
58 # so... do it ourselves
60 (cd gui
&& doconf ..
/m4)
61 (cd opensync-plugin
&& doconf ..
/m4)