* pre.in: Clean up up .ct.c rule
authorTom Yu <tlyu@mit.edu>
Wed, 19 Nov 1997 00:36:58 +0000 (00:36 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 19 Nov 1997 00:36:58 +0000 (00:36 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10292 dc483132-0cff-0310-8789-dd5450dbe970

src/config/ChangeLog
src/config/pre.in

index 4b825e19f3ef01b8eab2d4187d6537fab22973d3..a27f4dd3879dbd3c9596b310f806df5f2d869b5b 100644 (file)
@@ -1,5 +1,7 @@
 Tue Nov 18 19:20:59 1997  Tom Yu  <tlyu@mit.edu>
 
+       * pre.in: Clean up up .ct.c rule.
+
        * lib.in (clean-libs): Remove lib$(LIB)$(SHLIBSEXT) as well.
 
 Mon Oct 20 14:27:19 1997  Theodore Y. Ts'o  <tytso@mit.edu>
index 4cf44bfd63f65531274a3c5ab8178b4adca7da2f..10fd880b0b98f7c0a7d66d9b4599f10e590a767f 100644 (file)
@@ -279,11 +279,7 @@ COMPILE_ET_C= $(AWK) -f $(SRCTOP)/util/et/et_c.awk outfile=$@
 MAKE_COMMANDS= $(BUILDTOP)/util/ss/mk_cmds
 
 .ct.c:
-       @if [ $< != "$*.ct" ]; then \
-               (set -x; cp $< "$*.ct" && $(MAKE_COMMANDS) "$*.ct" && $(RM) "$*.ct") || exit 1; \
-       else \
-               (set -x; $(MAKE_COMMANDS) "$*.ct") || exit 1; \
-       fi
+       $(MAKE_COMMANDS) $<
 
 #
 # end of pre.in