gmyth/configure.ac
branchtrunk
changeset 887 9434eecdece9
parent 863 c25708b9b1e3
child 905 d2d226b5a4bd
     1.1 --- a/gmyth/configure.ac	Tue Oct 23 13:58:20 2007 +0100
     1.2 +++ b/gmyth/configure.ac	Fri Jan 04 16:46:07 2008 +0000
     1.3 @@ -37,6 +37,7 @@
     1.4  DX_PS_FEATURE(OFF)
     1.5  DX_INIT_DOXYGEN(gmyth, doxygen.cfg, docs)
     1.6  
     1.7 +
     1.8  # Checks for libraries.
     1.9  
    1.10  # Checks for header files.
    1.11 @@ -297,8 +298,17 @@
    1.12  AC_SUBST(LDFLAGS)
    1.13  AC_SUBST(LIBS)
    1.14  
    1.15 +#pkg debian flags
    1.16 +DISTRIB_CODENAME="$(cat /etc/lsb-release | grep DISTRIB_CODENAME | cut -d'=' -f2)"
    1.17 +if test "x$DISTRIB_CODENAME" = "x"; then
    1.18 +    DISTRIB_CODENAME="chinook"
    1.19 +fi
    1.20 +AC_SUBST(DISTRIB_CODENAME)
    1.21 +
    1.22 +
    1.23  AC_OUTPUT([
    1.24  Makefile
    1.25 +debian/changelog
    1.26  src/Makefile
    1.27  samples/Makefile
    1.28  tests/Makefile
    1.29 @@ -308,5 +318,5 @@
    1.30      AC_MSG_NOTICE([Debug: Enabled])
    1.31  else
    1.32      AC_MSG_NOTICE([Debug: Disabled])
    1.33 -fi          
    1.34 +fi
    1.35