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 \
    docs \
    tests

DIST_SUBDIRS = \
    libtaginfo \
    bindings \
    examples \
    packaging \
    docs \
    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


dist-hook: gen-ChangeLog

.PHONY: gen-ChangeLog
gen-ChangeLog: configure.ac
	if test -d .git; then \
	  git log > '.changelog.tmp'; \
	  mv -f .changelog.tmp ChangeLog; \
	  rm -f .changelog.tmp; \
	fi