]> git.ipfire.org Git - thirdparty/lldpd.git/blob - Makefile.am
client: fix segfault when displaying some information
[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 if HOST_OS_LINUX
11 DIST_SUBDIRS += libnl
12 endif
13
14 dist_doc_DATA = README.md NEWS CONTRIBUTE.md
15 doc_DATA = ChangeLog
16
17 __force-changelog-generation:
18 ChangeLog: __force-changelog-generation
19 $(AM_V_GEN)if test -e $(top_srcdir)/.git; then \
20 prev=$$(git describe --tags --always --match '[0-9]*' 2> /dev/null) ; \
21 for tag in $$(git tag | $(EGREP) '^[0-9]+(\.[0-9]+){1,}$$' | sort -t. -k 1,1nr -k 2,2nr -k 3,3nr); do \
22 if [ x"$$prev" = x ]; then prev=$$tag ; fi ; \
23 if [ x"$$prev" = x"$$tag" ]; then continue; fi ; \
24 echo "$$prev [$$(git log $$prev -1 --pretty=format:'%ai')]:" ; \
25 echo "" ; \
26 git log --pretty=' - [%h] %s (%an)' $$tag..$$prev ; \
27 echo "" ; \
28 prev=$$tag ; \
29 done > $@ ; \
30 else \
31 touch $@ ; \
32 fi
33
34 dist-hook:
35 echo $(VERSION) > $(distdir)/.dist-version
36
37 MOSTLYCLEANFILES = $(DX_CLEANFILES)
38
39 # systemd and launchd files are not installed in the prefix, don't
40 # request them for distcheck
41 DISTCHECK_CONFIGURE_FLAGS = $(CONFIGURE_ARGS) \
42 --with-sysusersdir=no \
43 --with-systemdsystemunitdir=no \
44 --with-launchddaemonsdir=no \
45 --with-apparmordir=no
46