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
)
14 elif [ "$1" = "clean" ] ; then
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 \
20 # clean up Debian build trails
22 rm -f build-arch-stamp build-indep-stamp configure-stamp \
23 debian
/barry.substvars debian
/files \
25 # clean up ctags trails
26 rm -f src
/tags tools
/tags examples
/tags \
27 gui
/src
/tags opensync-plugin
/src
/tags
28 elif [ "$1" = "ctags" ] ; then
30 (cd tools
&& ctags
-R)
31 (cd examples
&& ctags
-R)
32 (cd gui
/src
&& ctags
-R)
33 (cd opensync-plugin
/src
&& ctags
-R)
34 # and one with everything
35 ctags
-R -f ~
/tags-barry
--tag-relative=yes