From 2eb8178184b6aab514771e6df957d915d65492e5 Mon Sep 17 00:00:00 2001 From: Michael E Brown Date: Wed, 12 Dec 2007 12:49:13 -0600 Subject: remove generated autotools files from source repository. use autogen.sh to create them when compiling from git. --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 1fadd67..844c824 100644 --- a/Makefile.am +++ b/Makefile.am @@ -52,6 +52,10 @@ pkgpython_PYTHON = \ CLEANFILES += py/*.pyc py/mock/*.pyc py/mock/plugins/*.pyc +dist: ChangeLog +ChangeLog: + (GIT_DIR=.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2) + REPLACE_VARS_ON_INSTALL=$(sbindir)/mock.py install-exec-hook: for i in $(REPLACE_VARS_ON_INSTALL); do \ -- cgit