build fixes for rpm

master
Marc Wäckerlin 9 years ago
parent 121744484a
commit dcb80f67c3
  1. 4
      ax_init_standard_project.m4
  2. 2
      bootstrap.sh

@ -13,7 +13,7 @@ m4_define(x_least, mrw_esyscmd_s([
for path in . .. ../..; do for path in . .. ../..; do
if svn info $path 2>&1 > /dev/null; then if svn info $path 2>&1 > /dev/null; then
SVN_REVISION=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p') SVN_REVISION=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p')
(cd $path && svn2cl) 2>&1 > /dev/null (cd $path && svn2cl) 2> /dev/null > /dev/null
break; break;
fi fi
done done
@ -28,7 +28,7 @@ m4_define(x_minor_fixed, mrw_esyscmd_s([
for path in . .. ../..; do for path in . .. ../..; do
if svn info $path 2>&1 > /dev/null; then if svn info $path 2>&1 > /dev/null; then
SVN_REVISION=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p') SVN_REVISION=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p')
(cd $path && svn2cl) 2>&1 > /dev/null (cd $path && svn2cl) 2> /dev/null > /dev/null
break; break;
fi fi
done done

@ -391,7 +391,7 @@ ${HEADER}m4_define(x_package_name, ${DEFAULT_PROJECT_NAME}) # project's name
m4_define(x_major, 0) # project's major version m4_define(x_major, 0) # project's major version
m4_define(x_minor, 0) # project's minor version m4_define(x_minor, 0) # project's minor version
m4_include(ax_init_standard_project.m4) m4_include(ax_init_standard_project.m4)
AC_INIT(x_package_name, x_version, x_package_name) AC_INIT(x_package_name, x_version, x_bugreport, x_package_name)
AM_INIT_AUTOMAKE([1.9 tar-pax]) AM_INIT_AUTOMAKE([1.9 tar-pax])
AX_INIT_STANDARD_PROJECT AX_INIT_STANDARD_PROJECT

Loading…
Cancel
Save