*depfix.sed: Drop "$(srcdir)/" prefix for files in current directory, in favor of...
authorKen Raeburn <raeburn@mit.edu>
Sat, 1 Sep 2001 23:50:59 +0000 (23:50 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 1 Sep 2001 23:50:59 +0000 (23:50 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13724 dc483132-0cff-0310-8789-dd5450dbe970

src/util/ChangeLog
src/util/depfix.sed

index 754851b01f4b6b4643c926b9930782fcb8001571..b3b9e0a1f3d322a2891256d40247811d6c278fb4 100644 (file)
@@ -2,6 +2,8 @@
 
        * depfix.sed: Temporarily add trailing whitespace to make
        substitutions more regular.  Split lines before writing out.
+       Drop "$(srcdir)/" prefix for files in current directory, in favor
+       of using VPATH.
 
 2001-06-15  Ken Raeburn  <raeburn@mit.edu>
 
index 533f5ce6837e6be0e97e78eba4b65fedaec83033..d90033df74ffc9ab5101c00aec89947c82972237 100644 (file)
@@ -28,6 +28,8 @@ s/  */ /g
 s;/usr/include/[^ ]* ;;g
 s;/usr/lib/[^ ]* ;;g
 s;/mit/cygnus[^ ]* ;;g
+# rely on VPATH for $(srcdir) files
+s;\$(srcdir)/\([^ /]* \);\1;g
 # now delete trailing whitespace
 s; *$;;g