From 55992c581c91973fca118e657f1da25c41dac4b2 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 26 Mar 2014 13:01:09 -0400 Subject: [PATCH] rework REVISION hackery --- Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 33478c1..5009ca6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,11 +3,9 @@ AUTOMAKE_OPTIONS = 1.8 dist-bzip2 no-dist-gzip ACLOCAL_AMFLAGS = -I m4 -BUILT_SOURCES = REVISION - SUBDIRS = morituri bin etc doc m4 misc -EXTRA_DIST = morituri.spec morituri.doap RELEASE README.md HACKING $(BUILT_SOURCES) +EXTRA_DIST = morituri.spec morituri.doap RELEASE README.md HACKING REVISION SOURCES = $(top_srcdir)/morituri/*.py $(top_srcdir)/morituri/*/*.py @@ -48,3 +46,6 @@ REVISION: $(top_srcdir)/.git morituri/common/common.py md5sum $< > $@ include $(top_srcdir)/m4/pychecker.mk + +all-local: + if test -e $(top_srcdir)/.git; then make REVISION; fi