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
)
19 (cd opensync-plugin-0.4x
&& make distclean
)
21 (cd gui
&& .
/buildgen.sh clean
)
22 (cd opensync-plugin
&& .
/buildgen.sh clean
)
23 (cd opensync-plugin-0.4x
&& .
/buildgen.sh clean
)
24 elif [ "$1" = "clean" ] ; then
26 rm -f Makefile.
in aclocal.
m4 config.guess config.h.
in config.sub \
27 configure depcomp install-sh ltmain.sh missing \
28 src
/Makefile.
in tools
/Makefile.
in examples
/Makefile.
in \
29 man
/Makefile.
in INSTALL config.h.
in~
30 # clean up Debian build trails
32 rm -f build-arch-stamp build-indep-stamp configure-stamp \
33 debian
/barry.substvars debian
/files \
35 # clean up ctags trails
36 rm -f src
/tags tools
/tags examples
/tags \
38 opensync-plugin
/src
/tags \
39 opensync-plugin-0.4x
/src
/tags
40 elif [ "$1" = "ctags" ] ; then
41 echo "Building ctags..."
43 (cd tools
&& ctags
-R)
44 (cd examples
&& ctags
-R)
45 (cd gui
/src
&& ctags
-R)
46 (cd opensync-plugin
/src
&& ctags
-R)
47 (cd opensync-plugin-0.4x
/src
&& ctags
-R)
48 # and one with everything
49 ctags
-R -f ~
/tags-barry
--tag-relative=yes
50 # add opensync library as well (yes, I know this only works for my
52 #OS_DIR=~/software/opensync/svn
53 OS_DIR
=~
/software
/opensync
/0.22
54 if [ -d $OS_DIR ] ; then
55 echo "Detected opensync source tree, building ctags on it..."
56 (cd $OS_DIR && ctags
-R -a -f ~
/tags-barry
--tag-relative=yes)
59 #autoreconf -if --include=config
60 #autoreconf -ifv --include=config
62 # autoreconf doesn't seem to support custom .m4 files in config/ (???)
63 # so... do it ourselves
65 (cd gui
&& doconf ..
/m4)
66 (cd opensync-plugin
&& doconf ..
/m4)
67 (cd opensync-plugin-0.4x
&& doconf ..
/m4)