Blame SOURCES/krb5-1.9-debuginfo.patch

5af5b2
We want to keep these y.tab.c files around because the debuginfo points to
5af5b2
them.  It would be more elegant at the end to use symbolic links, but that
5af5b2
could mess up people working in the tree on other things.
5af5b2
5af5b2
--- src/kadmin/cli/Makefile.in
5af5b2
+++ src/kadmin/cli/Makefile.in
5af5b2
@@ -43,3 +43,8 @@ clean-unix::
5af5b2
 # CC_LINK is not meant for compilation and this use may break in the future.
5af5b2
 datetest: getdate.c
5af5b2
 	$(CC_LINK) $(ALL_CFLAGS) -DTEST -o datetest getdate.c
5af5b2
+
5af5b2
+%.c: %.y
5af5b2
+	$(RM) y.tab.c $@
5af5b2
+	$(YACC.y) $< 
5af5b2
+	$(CP) y.tab.c $@
5af5b2
--- src/plugins/kdb/ldap/ldap_util/Makefile.in
5af5b2
+++ src/plugins/kdb/ldap/ldap_util/Makefile.in
5af5b2
@@ -22,7 +22,7 @@ $(PROG): $(OBJS) $(KADMSRV_DEPLIBS) $(KR
5af5b2
 getdate.c: $(GETDATE)
5af5b2
 	$(RM) getdate.c y.tab.c
5af5b2
 	$(YACC) $(GETDATE)
5af5b2
-	$(MV) y.tab.c getdate.c
5af5b2
+	$(CP) y.tab.c getdate.c
5af5b2
 
5af5b2
 install::
5af5b2
 	$(INSTALL_PROGRAM) $(PROG) ${DESTDIR}$(ADMIN_BINDIR)/$(PROG)