diff options
author | William Jon McCann <mccann@jhu.edu> | 2008-01-22 17:03:46 -0500 |
---|---|---|
committer | William Jon McCann <mccann@jhu.edu> | 2008-01-22 17:43:22 -0500 |
commit | 5ce97e6f22fd25279793fbc75211d2e86413ae73 (patch) | |
tree | 5de0565516b1d90ed382dc5f0ed969c8e512706c /tools/solaris/Makefile.am | |
parent | 2fba24e67597bf59ae00db2867df7a348c81b094 (diff) |
initial stop/restart support
Add Stop and Restart methods to the Manager object. We'll rename the
Manager object to System in the near future. Use libpolkit to
determine authorization.
Diffstat (limited to 'tools/solaris/Makefile.am')
-rw-r--r-- | tools/solaris/Makefile.am | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tools/solaris/Makefile.am b/tools/solaris/Makefile.am new file mode 100644 index 0000000..d25930e --- /dev/null +++ b/tools/solaris/Makefile.am @@ -0,0 +1,38 @@ +## We require new-style dependency handling. +AUTOMAKE_OPTIONS = 1.7 + +NULL = + +SUBDIRS = \ + $(NULL) + +scriptdir = $(libdir)/ConsoleKit/scripts +script_SCRIPTS = \ + ck-system-stop \ + ck-system-restart \ + $(NULL) + +EXTRA_DIST = \ + $(script_SCRIPTS) \ + $(NULL) + +MAINTAINERCLEANFILES = \ + *~ \ + Makefile.in + + +check: + for f in $(script_SCRIPTS); do \ + echo -n "Validate bash syntax in $$f : "; \ + bash -n $(srcdir)/$$f 2> bash.error;\ + if test -s bash.error; then \ + echo failed; \ + cat bash.error; \ + rm -f bash.error; \ + exit 1; \ + else \ + echo ok; \ + rm -f bash.error; \ + fi; \ + done; + |