14f0285
From 3743c3636fd23e62f996b119a1536ecd882a5e80 Mon Sep 17 00:00:00 2001
14f0285
From: Robbie Harwood <rharwood@redhat.com>
14f0285
Date: Tue, 23 Aug 2016 16:49:25 -0400
32ef372
Subject: [PATCH] krb5-1.9-debuginfo.patch
14f0285
a89bdde
We want to keep these y.tab.c files around because the debuginfo points to
a89bdde
them.  It would be more elegant at the end to use symbolic links, but that
a89bdde
could mess up people working in the tree on other things.
14f0285
---
14f0285
 src/kadmin/cli/Makefile.in                 | 5 +++++
14f0285
 src/plugins/kdb/ldap/ldap_util/Makefile.in | 2 +-
14f0285
 2 files changed, 6 insertions(+), 1 deletion(-)
a89bdde
14f0285
diff --git a/src/kadmin/cli/Makefile.in b/src/kadmin/cli/Makefile.in
14f0285
index 789c597..7e7a148 100644
14f0285
--- a/src/kadmin/cli/Makefile.in
14f0285
+++ b/src/kadmin/cli/Makefile.in
14f0285
@@ -37,3 +37,8 @@ clean-unix::
a89bdde
 # CC_LINK is not meant for compilation and this use may break in the future.
a89bdde
 datetest: getdate.c
a89bdde
 	$(CC_LINK) $(ALL_CFLAGS) -DTEST -o datetest getdate.c
a89bdde
+
a89bdde
+%.c: %.y
a89bdde
+	$(RM) y.tab.c $@
a89bdde
+	$(YACC.y) $< 
a89bdde
+	$(CP) y.tab.c $@
14f0285
diff --git a/src/plugins/kdb/ldap/ldap_util/Makefile.in b/src/plugins/kdb/ldap/ldap_util/Makefile.in
14f0285
index b9ea339..060f500 100644
14f0285
--- a/src/plugins/kdb/ldap/ldap_util/Makefile.in
14f0285
+++ b/src/plugins/kdb/ldap/ldap_util/Makefile.in
14f0285
@@ -20,7 +20,7 @@ $(PROG): $(OBJS) $(KADMSRV_DEPLIBS) $(KRB5_BASE_DEPLIB) $(GETDATE)
a89bdde
 getdate.c: $(GETDATE)
a89bdde
 	$(RM) getdate.c y.tab.c
a89bdde
 	$(YACC) $(GETDATE)
a89bdde
-	$(MV) y.tab.c getdate.c
a89bdde
+	$(CP) y.tab.c getdate.c
a89bdde
 
a89bdde
 install::
a89bdde
 	$(INSTALL_PROGRAM) $(PROG) ${DESTDIR}$(ADMIN_BINDIR)/$(PROG)
14f0285
-- 
14f0285
2.9.3
14f0285