~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to build-aux/prefix-gnulib-mk

  • Committer: Colin Watson
  • Date: 2013-10-30 15:48:33 UTC
  • mfrom: (8.3.5 sid)
  • Revision ID: cjwatson@canonical.com-20131030154833-xdt6e1yfffqom1c4
merge from Debian 8.21-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
   {prefix_assignment($1, $2)}gem;
148
148
 
149
149
  # These three guys escape all the other regular rules.
150
 
  s{(charset\.alias|ref-add\.sed|ref-del\.sed)}{$prefix$1}g;
 
150
  # Require the leading white space to avoid inserting the prefix
 
151
  # on a line like this:
 
152
  # charset_alias = $(DESTDIR)$(libdir)/charset.alias
 
153
  # With $(libdir), it would be erroneous.
 
154
  s{(\s)(charset\.alias|ref-add\.sed|ref-del\.sed)}{$1$prefix$2}g;
151
155
  # Unfortunately, as a result we sometimes have lib/lib.
152
156
  s{($prefix){2}}{$1}g;
153
157