* post.in (depfix2.sed): collapse multiple slashes; more relative pathname processing
authorKen Raeburn <raeburn@mit.edu>
Thu, 6 Sep 2001 10:44:32 +0000 (10:44 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 6 Sep 2001 10:44:32 +0000 (10:44 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13733 dc483132-0cff-0310-8789-dd5450dbe970

src/config/ChangeLog
src/config/post.in

index d850e593f6604c4ecc26f1a7249b4fd6c67c75ff..31ea5ce9770bedb0cc9bde3cc1df15c06badc973 100644 (file)
@@ -2,6 +2,7 @@
 
        * post.in (depfix2.sed): New target, generates a sed script
        that'll do a better job of identifying possible $(SRCTOP) uses.
+       Collapse multiple slashes to one.  Uses new depgen.sed script.
        (.depend): Use it.
 
 2001-09-01  Ken Raeburn  <raeburn@mit.edu>
index 370162b13558e2c3b26a399a7d3a91fbcc606440..4fc9c056c63bcb67bac983c976784a1bde14cd8a 100644 (file)
@@ -19,11 +19,13 @@ check-windows::
 # directory-specific parameters.  General substitutions independent of local
 # make variables happen in depfix.sed.
 depfix2.sed: Makefile $(SRCTOP)/util/depgen.sed
+       echo '# automatically generated, do not edit'   >  depfix2.tmp
+       echo 's;///*;/;g'                               >> depfix2.tmp
        echo 's; \./; ;g'                               >> depfix2.tmp
        echo 's; $(SRCTOP)/; $$(SRCTOP)/;g'             >> depfix2.tmp
        echo 's; $(srcdir)/; $$(srcdir)/;g'             >> depfix2.tmp
        echo 's; $$(srcdir)/\.\./; $(srcdir)/../;g'     >> depfix2.tmp
-       echo '$(SRCTOP)' | sed -f $(SRCTOP)/util/depgen.sed >> depfix2.tmp
+       echo '$(SRCTOP)' '$(myfulldir)' | sed -f $(SRCTOP)/util/depgen.sed >> depfix2.tmp
        echo 's; $(BUILDTOP)/; $$(BUILDTOP)/;g'         >> depfix2.tmp
        mv -f depfix2.tmp depfix2.sed