File: Makefile.am

package info (click to toggle)
consolekit 0.2.10-5%2Blenny2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 2,896 kB
  • ctags: 1,392
  • sloc: ansic: 13,488; sh: 9,039; xml: 972; makefile: 557; python: 61
file content (38 lines) | stat: -rw-r--r-- 743 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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;