Source

libtaginfo / Makefile.am

Full commit
# This file is part of libtaginfo.
# Copyright (C) 2012-2013  Jörn Magens <shuerhaaken@googlemail.com>

AUTOMAKE_OPTIONS = subdir-objects

SUBDIRS = \
    libtaginfo \
    bindings \
    examples \
    packaging \
    tests

DIST_SUBDIRS = \
    libtaginfo \
    bindings \
    examples \
    packaging \
    tests

dist_noinst_DATA = AUTHORS COPYING NEWS TODO README ChangeLog taginfo.svg
dist_noinst_SCRIPTS = autogen.sh

DISTCLEANFILES = \
    configure \
    ltmain.sh \
    Makefile.in \
    depcomp \
    install-sh \
    missing \
    autom4te.cache/output.0 \
    autom4te.cache/output.1 \
    autom4te.cache/requests \
    autom4te.cache/traces.0 \
    autom4te.cache/traces.1 \
    config.guess \
    config.sub \
    aclocal.m4


.PHONY: ChangeLog

ChangeLog: Makefile
	(GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp \
	&& mv -f .changelog.tmp ChangeLog; rm -f .changelog.tmp) \
	|| (touch ChangeLog; echo 'Git directory not found: installing possibly empty changelog.' >&2)

dist-hook: ChangeLog