summaryrefslogtreecommitdiffstats
path: root/src/kadmin/testing/scripts/Makefile.in
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1996-10-03 17:26:08 +0000
committerEzra Peisach <epeisach@mit.edu>1996-10-03 17:26:08 +0000
commit681fb9a54e8caeebbcda223617c4844e6a9ec799 (patch)
tree4939faac0a1035be675bd33008e8713f6bb0119b /src/kadmin/testing/scripts/Makefile.in
parent326f8b7ea5508bc3eda6f26ec2db5cf81130b258 (diff)
downloadkrb5-681fb9a54e8caeebbcda223617c4844e6a9ec799.tar.gz
krb5-681fb9a54e8caeebbcda223617c4844e6a9ec799.tar.xz
krb5-681fb9a54e8caeebbcda223617c4844e6a9ec799.zip
* 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
Diffstat (limited to 'src/kadmin/testing/scripts/Makefile.in')
-rw-r--r--src/kadmin/testing/scripts/Makefile.in14
1 files changed, 11 insertions, 3 deletions
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