
Contents of /Public_Xapian-1.5/Makefile.in:
# $Id: Makefile.in,v 1.5 2008-01-16 05:02:03 hww3 Exp $
@make_variables@
VPATH=@srcdir@:@srcdir@/../..:../..
# things we should define.
# the .o files that we need to generate for the module
# rules will automatically generate these from .c, .cmod, .m and .mmod files.
OBJS=xapian.o
# the module directory we put things into. it should be a directory path
# of .pmod directories, and this must end with a trailing slash.
MODDIR=Public.pmod/
# the module name the resulting dynamic and/or pike module will be
# installed as. note that it's just a module or class name without extension.
MODNAME=Xapian
# used by the module repository to scan for autodocs. should be the
# list of non pike files containing autodoc markup (ie cmod or c files).
AUTODOC_SRC_IN=xapian.ccmod
# the module name note that there is no error checking, so all of these
# related variables should agree.
MODULE_NAME=Public.Xapian
# the module name, with periods replaced with underscores. used to
# generate the module distribution.
MODULE_DIR_NAME=Public_Xapian
# need i say more?
MODULE_LICENSE=GPL/LGPL/MPL
# we shouldn't need to do anything to the rest of the file.
CFLAGS=@CMOD_CFLAGS@
LDFLAGS=@CMOD_LIBS@
MODULE_LDFLAGS=@LDFLAGS@
CONFIG_HEADERS=@CONFIG_HEADERS@
@dynamic_module_makefile@
@dependencies@
pmar: verify
mkdir ${MODULE_DIR_NAME}-1.${MIN}
mkdir ${MODULE_DIR_NAME}-1.${MIN}/MODULE
mkdir ${MODULE_DIR_NAME}-1.${MIN}/SCRIPTS
-cp package/*.pike ${MODULE_DIR_NAME}-1.${MIN}/SCRIPTS
-cp -rf plib/modules/* ${MODULE_DIR_NAME}-1.${MIN}/MODULE
echo "MODULE=${MODULE_NAME}" > ${MODULE_DIR_NAME}-1.${MIN}/METADATA.TXT
echo "VERSION=1.${MIN}" >> ${MODULE_DIR_NAME}-1.${MIN}/METADATA.TXT
if test x${OBJS} = x ; then \
echo "PLATFORM=any/any" >> ${MODULE_DIR_NAME}-1.${MIN}/METADATA.TXT ; \
else \
echo "CREATING A NON-PLATFORM INDEPENDENT PACKAGE! YOU MUST UPDATE THE PLATFORM VALUE IN METADATA.TXT." ;\
fi
tar cvf ${MODULE_DIR_NAME}-1.${MIN}.pmar ${MODULE_DIR_NAME}-1.${MIN}
rm -rf ${MODULE_DIR_NAME}-1.${MIN}
release: verify
svn copy -m "tagging project" http://wush.net/svn/hww3/trunk http://wush.net/svn/hww3/tags/Public_Xapian_RELEASE_1_${MIN}
# ${MAKE} pmar RELEASE=${MIN}
svn export http://wush.net/svn/hww3/tags/Public_Xapian_RELEASE_1_${MIN}/pike_modules/Public_Xapian Public_Xapian-1.${MIN}
cd Public_Xapian-1.${MIN} && \
pike -x module --autoheader && pike -x module --autoconf && \
rm -rf autom4*
# cp *.c ${MODULE_DIR_NAME}-1.${MIN}
gtar czvf ${MODULE_DIR_NAME}-1.${MIN}.tar.gz ${MODULE_DIR_NAME}-1.${MIN}
rm -rf ${MODULE_DIR_NAME}-1.${MIN}
pike upload_module_version.pike ${MODULE_NAME} 1.${MIN} "${MODULE_LICENSE}"