-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
48 lines (42 loc) · 1023 Bytes
/
Makefile.am
File metadata and controls
48 lines (42 loc) · 1023 Bytes
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
SUBDIRS = common facter compiler
if BUILD_SERVER
SUBDIRS += server
endif
if BUILD_AGENT
SUBDIRS += agent
endif
SUBDIRS += tests
# Man pages
dist_man1_MANS = \
man/man1/puppetc-compile.1 \
man/man1/puppetc-server.1 \
man/man1/puppetc-agent.1 \
man/man1/puppetc-ca.1 \
man/man1/facter_c.1
dist_man5_MANS = \
man/man5/puppet.conf.5
# Additional files to distribute
EXTRA_DIST = README.md scripts/dump_puppetdb_facts.py
# Clean up generated files
MAINTAINERCLEANFILES = \
aclocal.m4 \
configure \
Makefile.in \
compiler/Makefile.in \
tests/Makefile.in \
install-sh \
missing \
compile \
depcomp
.PHONY: check-syntax
check-syntax:
@echo "Running syntax checks..."
@for file in compiler/*.c compiler/*.h; do \
echo "Checking $$file..."; \
$(CC) $(CFLAGS) $(CPPFLAGS) -fsyntax-only $$file || exit 1; \
done
@echo "All syntax checks passed."
.PHONY: integration-test
integration-test:
@echo "Running integration tests..."
@./tests/integration/run_tests.sh