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
This commit is contained in:
Assar Westerlund
2000-12-01 05:01:19 +00:00
parent 64d0405f32
commit e6f2021eaf

View File

@@ -2,6 +2,23 @@
include $(top_srcdir)/Makefile.am.common include $(top_srcdir)/Makefile.am.common
EXTRA_DIST = krb5-config.1
CLEANFILES = krb5-config
bin_SCRIPTS = krb5-config bin_SCRIPTS = krb5-config
man_MANS = krb5-config.1 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 $@