diff options
author | Ken Raeburn <raeburn@mit.edu> | 2007-01-20 10:59:19 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2007-01-20 10:59:19 +0000 |
commit | f1d252151ce0b21c9d94cbc24c965122eaea49fa (patch) | |
tree | 6c1c2af42dc79b81de3e7156e69ee163b349bae3 | |
parent | afd6d6260f8460efb10e964beb26d94a2b0f8547 (diff) | |
download | krb5-f1d252151ce0b21c9d94cbc24c965122eaea49fa.tar.gz krb5-f1d252151ce0b21c9d94cbc24c965122eaea49fa.tar.xz krb5-f1d252151ce0b21c9d94cbc24c965122eaea49fa.zip |
* pre.in (.et.h, .et.c): Use temporary files in the current directory with
fixed names, instead of incorporating the shell pid.
* post.in (clean-unix): Delete the temporary files.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19079 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/config/post.in | 2 | ||||
-rw-r--r-- | src/config/pre.in | 15 |
2 files changed, 11 insertions, 6 deletions
diff --git a/src/config/post.in b/src/config/post.in index e997c5591..6dc71ee1e 100644 --- a/src/config/post.in +++ b/src/config/post.in @@ -107,7 +107,7 @@ DEPTARGETS_@top_srcdir@_. = $(DEP_VERIFY) clean:: clean-$(WHAT) clean-unix:: - $(RM) $(OBJS) $(DEPTARGETS_CLEAN) $(EXTRA_FILES) + $(RM) $(OBJS) $(DEPTARGETS_CLEAN) $(EXTRA_FILES) et-[ch]-*.et et-[ch]-*.[ch] -$(RM) -r $(srcdir)/$(thisconfigdir)/autom4te.cache clean-windows:: diff --git a/src/config/pre.in b/src/config/pre.in index 1a8185bc7..a22c39742 100644 --- a/src/config/pre.in +++ b/src/config/pre.in @@ -442,12 +442,17 @@ COMPILE_ET-k5= $(BUILDTOP)/util/et/compile_et -d $(SRCTOP)/util/et #.et.c: ; $(COMPILE_ET) $< .et.h: - d=ettmp$$$$ ; (cp $< $$d.et && $(COMPILE_ET) $$d.et && mv $$d.h $*.h) ; \ - e=$$? ; rm -f $$d.* ; exit $$e - + $(RM) et-h-$*.et et-h-$*.c et-h-$*.h + $(CP) $< et-h-$*.et + $(COMPILE_ET) et-h-$*.et + $(MV) et-h-$*.h $*.h + $(RM) et-h-$*.et et-h-$*.c .et.c: - d=ettmp$$$$ ; (cp $< $$d.et && $(COMPILE_ET) $$d.et && mv $$d.c $*.c) ; \ - e=$$? ; rm -f $$d.* ; exit $$e + $(RM) et-c-$*.et et-c-$*.c et-c-$*.h + $(CP) $< et-c-$*.et + $(COMPILE_ET) et-c-$*.et + $(MV) et-c-$*.c $*.c + $(RM) et-c-$*.et et-c-$*.h # rule to make object files # |