diff options
author | Zoltan Varga <vargaz@gmail.com> | 2012-01-24 09:48:23 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2012-01-24 09:48:23 +0400 |
commit | a88d47400db4e76051481a4ddd272e261fd95b7d (patch) | |
tree | 6cb2948094bafc67ac78f719892bf6b92428cbc4 /scripts | |
parent | e448bde2e24921f3ef8098ca63f17dbdd8ef61c1 (diff) |
Add a nunit-console4 script. Fixes #2156.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.am | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index aaf6ed4a510..bf41c1cdf28 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -131,11 +131,11 @@ scripts_defaults = \ wsdl$(SCRIPT_SUFFIX) scripts_service = mono-service mono-service2 -scripts_nunit = nunit-console$(SCRIPT_SUFFIX) nunit-console2$(SCRIPT_SUFFIX) +scripts_nunit = nunit-console$(SCRIPT_SUFFIX) nunit-console2$(SCRIPT_SUFFIX) nunit-console4$(SCRIPT_SUFFIX) scripts_rpmhelpers = mono-find-provides mono-find-requires scripts_mono_configuration_crypto = mono-configuration-crypto$(SCRIPT_SUFFIX) -CLEANFILES = $(scripts_mono_configuration_crypto) $(scripts_4_0_umask) $(scripts_2_0) $(scripts_defaults) $(scripts_4_0) mono-service mono-service2 nunit-console nunit-console2 mono-find-provides mono-find-requires mod $(MDOC_SUBCOMMANDS) +CLEANFILES = $(scripts_mono_configuration_crypto) $(scripts_4_0_umask) $(scripts_2_0) $(scripts_defaults) $(scripts_4_0) mono-service mono-service2 nunit-console nunit-console2 nunit-console4 mono-find-provides mono-find-requires mod $(MDOC_SUBCOMMANDS) DISTCLEANFILES = $(pkgconfig_DATA) $(scripts_rpmhelpers) EXTRA_DIST = \ @@ -195,6 +195,11 @@ else REWRITE4 = $(REWRITE) -e 's,@''framework_version@,2.0,g' endif REWRITE2_DEBUG = $(REWRITE_DEBUG) -e 's,@''framework_version@,2.0,g' +if INSTALL_4_0 +REWRITE4_DEBUG = $(REWRITE_DEBUG) -e 's,@''framework_version@,4.5,g' +else +REWRITE4_DEBUG = $(REWRITE_DEBUG) -e 's,@''framework_version@,2.0,g' +endif peverify: peverify.in Makefile $(REWRITE_COMMON) $(srcdir)/peverify.in > $@.tmp @@ -228,6 +233,10 @@ nunit-console2$(SCRIPT_SUFFIX): $(SCRIPT_IN) Makefile $(REWRITE2_DEBUG) -e 's,@''exe_name@,nunit-console,g' $(srcdir)/$(SCRIPT_IN) | $(FILTER) > $@.tmp mv -f $@.tmp $@ +nunit-console4$(SCRIPT_SUFFIX): $(SCRIPT_IN) Makefile + $(REWRITE4_DEBUG) -e 's,@''exe_name@,nunit-console,g' $(srcdir)/$(SCRIPT_IN) | $(FILTER) > $@.tmp + mv -f $@.tmp $@ + #FIXME: this is not the correct rule for mod.bat. mod$(SCRIPT_SUFFIX): mod.in Makefile $(REWRITE2) -e "s,@""exe_name@,mod,g" $(srcdir)/mod.in > $@.tmp |