diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2006-02-16 00:52:29 +0300 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2006-02-16 00:52:29 +0300 |
commit | 44e01e36459749a4726dbdaed3525c6d6579c88a (patch) | |
tree | d17cda7f0c478c4604a104a62958b3e6e2fe678e /scripts | |
parent | a63a6af5e9f8fe01b148a4b05d2102d378e89823 (diff) |
generate a mono-service2 script
svn path=/trunk/mono/; revision=56902
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.am | 8 | ||||
-rw-r--r-- | scripts/mono-service.in | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 1a049b0e88d..831c4fdfaea 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,4 +1,4 @@ -bin_SCRIPTS = $(scripts_1_0) $(scripts_1_0_umask) $(scripts_2_0) mono-service $(scripts_rpmhelpers) +bin_SCRIPTS = $(scripts_1_0) $(scripts_1_0_umask) $(scripts_2_0) mono-service mono-service2 $(scripts_rpmhelpers) scripts_1_0 = \ al \ @@ -51,7 +51,7 @@ scripts_rpmhelpers = mono-find-provides mono-find-requires pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA= mono-nunit.pc -CLEANFILES = $(scripts_1_0) $(scripts_1_0_umask) $(scripts_2_0) gmcs mono-service +CLEANFILES = $(scripts_1_0) $(scripts_1_0_umask) $(scripts_2_0) gmcs mono-service mono-service2 DISTCLEANFILES = $(pkgconfig_DATA) $(scripts_rpmhelpers) EXTRA_DIST = \ @@ -90,6 +90,10 @@ mono-service: mono-service.in Makefile $(REWRITE1) -e 's,@''exe_name@,$@,g' $(srcdir)/mono-service.in > $@.tmp mv $@.tmp $@ +mono-service2: mono-service.in Makefile + $(REWRITE2) -e 's,@''exe_name@,$@,g' $(srcdir)/mono-service.in > $@.tmp + mv $@.tmp $@ + $(scripts_1_0): script.in Makefile $(REWRITE1) -e 's,@''exe_name@,$@,g' $(srcdir)/script.in > $@.tmp mv $@.tmp $@ diff --git a/scripts/mono-service.in b/scripts/mono-service.in index 25b789902c4..4d142ad5c7f 100644 --- a/scripts/mono-service.in +++ b/scripts/mono-service.in @@ -12,7 +12,7 @@ done if test x$assembly = x; then echo You must specify at least the assembly name echo - echo 'Usage is: mono-service [options] service' + echo 'Usage is: $0 [options] service' echo echo ' -d:<directory> Working directory' echo ' -l:<lock file> Lock file (default is /tmp/<service>.log)' |