]> git.ipfire.org Git - thirdparty/lldpd.git/blob - Makefile.am
tests: request CAP_DAC_OVERRIDE
[thirdparty/lldpd.git] / Makefile.am
1 include doxygen.am
2
3 ACLOCAL_AMFLAGS = -I m4
4
5 SUBDIRS = src/compat src src/daemon src/lib src/client tests osx
6 EXTRA_DIST = $(DX_CONFIG) include get-version autogen.sh
7 DIST_SUBDIRS = $(SUBDIRS) libevent
8 DISTCLEANFILES = ChangeLog
9
10 dist_doc_DATA = README.md NEWS CONTRIBUTE.md LICENSE
11 doc_DATA = ChangeLog
12
13 __force-changelog-generation:
14 ChangeLog: __force-changelog-generation
15 $(AM_V_GEN)if test -e $(top_srcdir)/.git; then \
16 prev=$$(git describe --tags --always --match '[0-9]*' 2> /dev/null) ; \
17 for tag in $$(git tag | $(EGREP) '^[0-9]+(\.[0-9]+){1,}$$' | sort -t. -k 1,1nr -k 2,2nr -k 3,3nr); do \
18 if [ x"$$prev" = x ]; then prev=$$tag ; fi ; \
19 if [ x"$$prev" = x"$$tag" ]; then continue; fi ; \
20 echo "$$prev [$$(git log --no-merges $$prev -1 --pretty=format:'%ai')]:" ; \
21 echo "" ; \
22 git log --pretty=' - [%h] %s (%an)' $$tag..$$prev ; \
23 echo "" ; \
24 prev=$$tag ; \
25 done > $@ ; \
26 else \
27 touch $@ ; \
28 fi
29
30 dist-hook:
31 echo $(VERSION) > $(distdir)/.dist-version
32
33 MOSTLYCLEANFILES = $(DX_CLEANFILES)
34
35 # systemd and launchd files are not installed in the prefix, don't
36 # request them for distcheck
37 DISTCHECK_CONFIGURE_FLAGS = $(CONFIGURE_ARGS) \
38 --with-sysusersdir=no \
39 --with-systemdsystemunitdir=no \
40 --with-launchddaemonsdir=no \
41 --with-apparmordir=no \
42 --sysconfdir='$$(prefix)/etc'
43
44