Skip to content
Snippets Groups Projects
Commit 0e021fd6 authored by Kipp Cannon's avatar Kipp Cannon
Browse files

patch gstlal-calibration build scripts

parent 19f730ea
No related branches found
No related tags found
No related merge requests found
gstlal-calibration.spec
ACLOCAL_AMFLAGS = -I gnuscripts
EXTRA_DIST = gstlal-ugly.spec
SUBDIRS = debian lib gst python bin share tests examples
EXTRA_DIST = gstlal-calibration.spec
SUBDIRS = debian gst python bin
# check that the most recent changelog entry's version matches the package
# version
......
......@@ -13,9 +13,12 @@ AC_CONFIG_MACRO_DIR([gnuscripts])
AM_INIT_AUTOMAKE([1.9 tar-ustar foreign])
AC_CONFIG_FILES([ \
Makefile \
gstlal-ugly.spec \
gstlal-calibration.spec \
bin/Makefile \
debian/control \
debian/Makefile
debian/Makefile \
gst/Makefile \
python/Makefile \
])
......
AC_DEFUN([AX_PYTHON_GLUE],[
if test -z $PYTHON ; then
PYTHON="python"
fi
PYTHON_NAME=`basename $PYTHON`
AX_PYTHON_MODULE([glue])
if test "x$HAVE_PYMOD_GLUE" == "xyes" ; then
AC_MSG_CHECKING(glue version)
GLUE_VERSION=`$PYTHON -c "from glue import git_version ; print '%s.%s' % tuple((git_version.tag or '0-0').replace('glue-release-', '').split('-')[[:2]])"`
if test "x${GLUE_VERSION}" == "x0.0" ; then
GLUE_VERSION=
AC_MSG_RESULT([unknown])
else
AC_MSG_RESULT($GLUE_VERSION)
fi
fi
])
AC_DEFUN([AX_PYTHON_PYLAL],[
if test -z $PYTHON ; then
PYTHON="python"
fi
PYTHON_NAME=`basename $PYTHON`
AX_PYTHON_MODULE([pylal])
if test "x$HAVE_PYMOD_PYLAL" == "xyes" ; then
AC_MSG_CHECKING(pylal version)
PYLAL_VERSION=`$PYTHON -c "from pylal import git_version ; print '%s.%s' % tuple((git_version.tag or '0-0').replace('pylal-', '').split('-')[[:2]])"`
if test "x${PYLAL_VERSION}" == "x0.0" ; then
PYLAL_VERSION=
AC_MSG_RESULT([unknown])
else
AC_MSG_RESULT($PYLAL_VERSION)
fi
fi
])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment