summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2002-09-11 02:58:24 +0000
committerKen Raeburn <raeburn@mit.edu>2002-09-11 02:58:24 +0000
commit46547f80242c629d20a68e45a69359990cfd627b (patch)
treeb46ebf1baa17c847df1b4a210239020526c2e92d /src/config
parent1843b11ca3719b1c0d45ab98108c9dca56df5ea2 (diff)
downloadkrb5-46547f80242c629d20a68e45a69359990cfd627b.tar.gz
krb5-46547f80242c629d20a68e45a69359990cfd627b.tar.xz
krb5-46547f80242c629d20a68e45a69359990cfd627b.zip
Move all depfix2.sed generation into depgen.sed, so ".." in $(srcdir) and
$(BUILDTOP) can be properly quoted, and won't match names like "ss". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14837 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config')
-rw-r--r--src/config/post.in9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/config/post.in b/src/config/post.in
index 7a08e857bd..337a003e1d 100644
--- a/src/config/post.in
+++ b/src/config/post.in
@@ -23,14 +23,7 @@ ALL_DEP_SRCS= $(SRCS) $(EXTRADEPSRCS)
# 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)' '$(myfulldir)' | sed -f $(SRCTOP)/util/depgen.sed >> depfix2.tmp
- echo 's; $(BUILDTOP)/; $$(BUILDTOP)/;g' >> depfix2.tmp
+ echo '$(SRCTOP)' '$(myfulldir)' '$(srcdir)' '$(BUILDTOP)' | sed -f $(SRCTOP)/util/depgen.sed > depfix2.tmp
mv -f depfix2.tmp depfix2.sed
DEPLIBOBJNAMEFIX = sed -e 's;^\$$(OUTPRE)\([a-zA-Z0-9_\-]*\)\.\$$(OBJEXT):;\1.so \1.po &;'