diff options
author | Brian J. Tarricone <brian@tarricone.org> | 2009-08-26 14:56:49 -0700 |
---|---|---|
committer | Brian J. Tarricone <brian@tarricone.org> | 2009-08-26 15:01:34 -0700 |
commit | 806ee07598a912c3e92498e98c29b35d29ea65ac (patch) | |
tree | 24dfa4ee40b9e283a43b10e0c5f996350b80e743 /scripts | |
parent | 3e611faa1d00f18639c3dc1ffe1ea9afce3ecdb5 (diff) | |
download | xfce4-dev-tools-806ee07598a912c3e92498e98c29b35d29ea65ac.tar.gz |
add do-not-edit warning to top of autogenerated configure.{ac,in}
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/xdt-autogen.in.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/xdt-autogen.in.in b/scripts/xdt-autogen.in.in index 5eaccbf..2d14ef8 100644 --- a/scripts/xdt-autogen.in.in +++ b/scripts/xdt-autogen.in.in @@ -242,9 +242,17 @@ for configure_ac_in_file in $CONFIGURE_AC_IN_FILES; do linguas=`cd "$conf_dir/po" 2>/dev/null && ls *.po 2>/dev/null | $AWK 'BEGIN { FS="."; ORS=" " } { print $1 }'` # and do the substitution + tmp=`basename ${configure_ac_in_file}` + cat >"$configure_ac_file" <<EOF +dnl +dnl This file was autogenerated from "${tmp}". +dnl Edit that file instead! +dnl + +EOF sed -e "s/@REVISION@/${revision}/g" \ -e "s/@LINGUAS@/${linguas}/g" \ - < "$configure_ac_in_file" > "$configure_ac_file" + < "$configure_ac_in_file" >> "$configure_ac_file" done |