forked from a2o/snoopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
39 lines (32 loc) · 929 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
29
30
31
32
33
34
35
36
37
38
39
include $(top_srcdir)/build/Makefile.am.common
AUTOMAKE_OPTIONS = foreign subdir-objects
ACLOCAL_AMFLAGS = -I m4
# Process etc/ before other subdirs
# If snoopy has config file enabled, then there is a small time frame
# between installation of library and subsequent installation of
# initial configuration file where iniparser emits an error about
# configuration file not being found. Therefore we first install
# configuration file and only then the snoopy library itself.
SUBDIRS = \
src \
bin \
etc \
doc
EXTRA_DIST +=\
autogen.sh \
README.md
enable: install
echo ; \
$(top_srcdir)/bin/snoopy-enable ; \
echo ;
disable:
echo ; \
$(top_srcdir)/bin/snoopy-disable \
echo ;
# Disable it if we are uninstalling it, to avoid error messages
# about missing library that should be preloaded.
uninstall-local: disable
# Clean release files
clean-local:
rm -f snoopy-*.tar.gz* ; \
rm -f snoopy-latest-*.txt ;