summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:02:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:02:34 +0000
commitfadeddfbb2aa38a980dd959b5ec1ffba7afd43cb (patch)
treea7bde6111c84ea64619656a38fba50909fa0bf60 /Makefile.am
parentInitial commit. (diff)
downloadlldpd-fadeddfbb2aa38a980dd959b5ec1ffba7afd43cb.tar.xz
lldpd-fadeddfbb2aa38a980dd959b5ec1ffba7afd43cb.zip
Adding upstream version 1.0.18.upstream/1.0.18upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am44
1 files changed, 44 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..80abf73
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,44 @@
+include doxygen.am
+
+ACLOCAL_AMFLAGS = -I m4
+
+SUBDIRS = src/compat src src/daemon src/lib src/client tests osx
+EXTRA_DIST = $(DX_CONFIG) include get-version autogen.sh
+DIST_SUBDIRS = $(SUBDIRS) libevent
+DISTCLEANFILES = ChangeLog
+
+dist_doc_DATA = README.md NEWS CONTRIBUTE.md LICENSE
+doc_DATA = ChangeLog
+
+__force-changelog-generation:
+ChangeLog: __force-changelog-generation
+ $(AM_V_GEN)if test -e $(top_srcdir)/.git; then \
+ prev=$$(git describe --tags --always --match '[0-9]*' 2> /dev/null) ; \
+ for tag in $$(git tag | $(EGREP) '^[0-9]+(\.[0-9]+){1,}$$' | sort -t. -k 1,1nr -k 2,2nr -k 3,3nr); do \
+ if [ x"$$prev" = x ]; then prev=$$tag ; fi ; \
+ if [ x"$$prev" = x"$$tag" ]; then continue; fi ; \
+ echo "$$prev [$$(git log --no-merges $$prev -1 --pretty=format:'%ai')]:" ; \
+ echo "" ; \
+ git log --pretty=' - [%h] %s (%an)' $$tag..$$prev ; \
+ echo "" ; \
+ prev=$$tag ; \
+ done > $@ ; \
+ else \
+ touch $@ ; \
+ fi
+
+dist-hook:
+ echo $(VERSION) > $(distdir)/.dist-version
+
+MOSTLYCLEANFILES = $(DX_CLEANFILES)
+
+# systemd and launchd files are not installed in the prefix, don't
+# request them for distcheck
+DISTCHECK_CONFIGURE_FLAGS = $(CONFIGURE_ARGS) \
+ --with-sysusersdir=no \
+ --with-systemdsystemunitdir=no \
+ --with-launchddaemonsdir=no \
+ --with-apparmordir=no \
+ --sysconfdir='$$(prefix)/etc'
+
+