-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
28 lines (19 loc) · 853 Bytes
/
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
SUBDIRS = intl m4 man po
bin_PROGRAMS = couriergrey
noinst_HEADERS = couriergrey.h database.h mail_processor.h message_processor.h timestore.h whitelist.h
sysconf_DATA = whitelist_ip.dist
couriergrey_SOURCES = couriergrey.cc database.cc mail_processor.cc message_processor.cc timestore.cc whitelist.cc
couriergrey_LDFLAGS = @LDFLAGS@
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = config.rpath whitelist_ip.dist README.md
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
install-data-hook:
@list='$(sysconf_DATA)'; for p in $$list; do \
dest=`echo $$p | sed -e s/.dist//`; \
if test -f $(DESTDIR)$(sysconfdir)/$$dest; then \
echo "$@ will not overwrite existing $(DESTDIR)$(sysconfdir)/$$dest"; \
else \
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest"; \
$(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest; \
fi; \
done