From e6f2021eafbcba239638da5cbec843a59729b456 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Fri, 1 Dec 2000 05:01:19 +0000 Subject: [PATCH] add generation of krb5-config at make-time instead of configure-time git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9249 ec53bebd-3082-4978-b11e-865c3cabbd6b --- tools/Makefile.am | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tools/Makefile.am b/tools/Makefile.am index feef9e5d4..eefacd27c 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -2,6 +2,23 @@ include $(top_srcdir)/Makefile.am.common +EXTRA_DIST = krb5-config.1 + +CLEANFILES = krb5-config + bin_SCRIPTS = krb5-config man_MANS = krb5-config.1 + +krb5-config: krb5-config.in + sed -e "s,@PACKAGE\@,@PACKAGE@,g" \ + -e "s,@VERSION\@,@VERSION@,g" \ + -e "s,@prefix\@,@prefix@,g" \ + -e "s,@exec_prefix\@,@exec_prefix@,g" \ + -e "s,@libdir\@,@libdir@,g" \ + -e "s,@includedir\@,@includedir@,g" \ + -e "s,@LIB_crypt\@,@LIB_crypt@,g" \ + -e "s,@LIB_dbopen\@,@LIB_dbopen@,g" \ + -e "s,@LIBS\@,@LIBS@,g" \ + $(srcdir)/krb5-config.in > $@ + chmod +x $@