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