File: Makefile.in

package info (click to toggle)
cfengine 1.4.9-3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 3,540 kB
  • ctags: 1,861
  • sloc: ansic: 25,408; sh: 1,708; perl: 1,088; lex: 690; makefile: 435; lisp: 182; yacc: 101; csh: 24
file content (52 lines) | stat: -rw-r--r-- 1,034 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
################################################################
#	Makefile for CFEngine's bin directory
################################################################

prefix = @prefix@
exec_prefix = @exec_prefix@

VPATH = @srcdir@

bindir = @bindir@
sbindir = @sbindir@

datadir = @datadir@
acdatadir = ${datadir}/cfengine

INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@

MKINSTALLDIR = @top_srcdir@/bin/mkinstalldirs

PERL = @PERL@
SCRIPTS = cfdaily cfwrap cfmail noseyparker editquotas cfbackup cfbg \
		cfrestore

RM = rm -f

all: ${SCRIPTS} backup.exclude
	@echo "All scripts built"

install: install_scripts install_data
	@echo "Install done"

install_scripts: ${SCRIPTS}
	${MKINSTALLDIR} ${acdatadir}
	for x in $?; \
	do \
	${INSTALL_PROGRAM} $$x ${acdatadir}; \
	done

install_data: backup.exclude
	${MKINSTALLDIR} ${acdatadir}
	${INSTALL_DATA} $? ${acdatadir}

clean:
	${RM} *~

distclean: clean
	${RM} ${SCRIPTS} cf-install Makefile cfengine

dist:
	(cd @top_srcdir@; ${MAKE} dist)