Skip to content
  • Thomas Haller's avatar
    build: use `sed` instead of AC_SUBST() to generate man/common.ent · 4de6f603
    Thomas Haller authored
    Otherwise, substitions are not properly expanded.
    
    For example
    
    - "AC_SUBST(nmrundir, '${runstatedir}'/$PACKAGE, [NetworkManager runtime state directory])"
      gives ${runstatedir}/NetworkManager/resolv.conf
    
    - "AC_SUBST(nmrundir, "${runstatedir}/$PACKAGE", [NetworkManager runtime state directory])"
      gives ${prefix}/var/run/NetworkManager/resolv.conf
    4de6f603