From 681fb9a54e8caeebbcda223617c4844e6a9ec799 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Thu, 3 Oct 1996 17:26:08 +0000 Subject: * env-setup.shin: Renamed env-setup.sh for autoconf use * init_db, start_servers, start_servers_local, stop_servers: Invoke scripts from source directory or build tree as needed. * configure.in, Makefile.in: generate env-setup.sh with proper paths already. (env-setup.shin was created - retaining the old history logs) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9138 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/testing/scripts/Makefile.in | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/kadmin/testing/scripts/Makefile.in') diff --git a/src/kadmin/testing/scripts/Makefile.in b/src/kadmin/testing/scripts/Makefile.in index 33297520e..b354c401e 100644 --- a/src/kadmin/testing/scripts/Makefile.in +++ b/src/kadmin/testing/scripts/Makefile.in @@ -3,11 +3,19 @@ PERL=@PERL@ GEN_SCRIPTS = compare_dump.pl fixup-conf-files.pl make-host-keytab.pl \ simple_dump.pl verify_xrunner_report.pl qualname.pl -all:: $(GEN_SCRIPTS) restore_files.sh +all:: env-setup.sh $(GEN_SCRIPTS) restore_files.sh + +# Should only rebuild env_setup.sh here (use CONFIG_FILES=), but the weird krb5 +# makefile post-processing is unconditional and would trash the makefile. +env-setup.sh: env-setup.stamp +env-setup.stamp: $(srcdir)/env-setup.shin config.status + $(SHELL) config.status + chmod +x env-setup.sh + touch env-setup.stamp restore_files.sh: rm -f restore_files.sh - ln -s save_files.sh restore_files.sh + ln -s $(srcdir)/save_files.sh restore_files.sh %.pl: %.pl.in -rm -f $@.tmp @@ -17,4 +25,4 @@ restore_files.sh: mv $@.tmp $@ clean:: - -rm -f $(GEN_SCRIPTS) *.tmp + -rm -f $(GEN_SCRIPTS) *.tmp env-setup.sh env-setup.stamp restore_files.sh -- cgit