forked from cfengine/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
61 lines (48 loc) · 1.88 KB
/
Makefile.am
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
53
54
55
56
57
58
59
60
61
AUTOMAKE_OPTIONS = foreign
SUBDIRS = pub $(NOVA_SUBDIR) $(CONSTELLATION_SUBDIR) src docs examples inputs masterfiles
DIST_SUBDIRS = pub src docs examples inputs masterfiles
# Set explicitly to avoid picking up {nova,constellation,galaxy}/*.m4
DIST_COMMON = README Makefile.am Makefile.in configure AUTHORS aclocal.m4 \
ChangeLog INSTALL config.guess config.sub depcomp install-sh \
ltmain.sh missing ylwrap m4/acinclude.m4 m4/libtool.m4 m4/ltoptions.m4 \
m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4 m4/cf3_with_library.m4 \
configure.ac autogen.sh
EXTRA_DIST = ChangeLog INSTALL README LICENSE
docdir = @docdir@
doc_DATA = README ChangeLog
#
# Some basic clean ups
#
MOSTLYCLEANFILES = *~
#
# Get everything removed down to where rebuilding requires:
# "make; make install"
#
CLEANFILES =
#
# Get everything removed down to where rebuilding requires:
# "configure; make; make install"
#
DISTCLEANFILES =
#
# Get everything removed down to where rebuilding requires:
# "aclocal; autoconf; autoheader; automake --add-missing"
# "configure; make; make install"
#
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.sub \
configure install-sh missing mkinstalldirs depcomp ylwrap \
ltmain.sh mdate-sh
#
# Pass proper flags to aclocal to pick up Libtool macros
#
ACLOCAL_AMFLAGS = -I m4
check:
@echo "In order to run testsuite, you need to run the following command:"
@echo " cd tests; ./testall --agent=\$workdir/bin/cf-agent"
@echo "where \$workdir is the work directory for CFEngine (/var/cfengine by default)."
@echo
@echo "You need to have sudo to run testsuite (in order to test functionality which"
@echo "is only available to root). Refer to $(srcdir)/tests/README for further info."
dist-hook:
mkdir $(distdir)/tests
(cd $(srcdir)/tests && find . -name README -o -name testall -o -name '*.cf*' -a \! -path '*succeeded*' | tar -c -f - -T-) | tar -x -C $(distdir)/tests -v -f -