distclean: cleaner
find . -name '*~' -o -name '.#*' | xargs rm -vf
rm -vf po/Makefile
- rm -vf Makefile configure sysdep.h config.cache config.log config.status *.d
+ rm -vf Makefile configure sysdep.h config.cache config.log config.status *.d package-version.txt
rm -vf utils/*.d ;
rm -vf utillib/*.d ;
for i in $(srcdir)/modules/* ; do \
#
# run me after checking Citadel out of the source code repository.
-# Remove any vestiges of pre-6.05 build environments
-rm -f .libs modules *.so *.lo *.la 2>/dev/null
-
echo ... running aclocal ...
-aclocal -I m4
+aclocal -I m4
echo ... running autoconf ...
autoconf
echo ... running mk_module_init.sh ...
./scripts/mk_module_init.sh
+grep '#define REV_LEVEL' citadel.h | sed 's/[^0-9]*//g' >package-version.txt
+
echo
echo This script has been tested with autoconf 2.53 and
echo automake 1.5. Other versions may work, but we recommend
echo Also note that autoconf and automake should be configured
echo with the same prefix.
echo
+
+grep '^#define CLIENT_VERSION' src/include/citadel_ipc.h | sed 's/[^0-9]*//g' >package-version.txt