From 23fc5d7494b2dec97b57af28da931fa53f81e00c Mon Sep 17 00:00:00 2001 From: Tom Goff Date: Fri, 29 Jan 2016 11:23:03 -0500 Subject: [PATCH] build: Cleanup related to including revision info in distributions. --- Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index bf61306d..121d7441 100644 --- a/Makefile.am +++ b/Makefile.am @@ -43,6 +43,10 @@ DISTCLEAN_TARGETS = aclocal.m4 config.h.in # extra cruft to remove DISTCLEANFILES = aclocal.m4 config.h.in configure Makefile.in config/compile +MAINTAINERCLEANFILES = \ + .version \ + .version.date + # don't include svn dirs in source tarball dist-hook: rm -rf `find $(distdir)/kernel -name .svn` @@ -72,8 +76,8 @@ core-restart: rm -f /var/log/core-daemon.log /etc/init.d/core-daemon start -.version: +.version: Makefile echo $(CORE_VERSION) > $@ -.version.date: +.version.date: Makefile echo $(CORE_VERSION_DATE) > $@