Blame Makefile.am

Packit eba2e2
## Process this file with automake to produce Makefile.in
Packit eba2e2
Packit eba2e2
## Copyright (C) 2010 Colin Watson.
Packit eba2e2
##
Packit eba2e2
## This file is part of libpipeline.
Packit eba2e2
##
Packit eba2e2
## libpipeline is free software; you can redistribute it and/or modify
Packit eba2e2
## it under the terms of the GNU General Public License as published by
Packit eba2e2
## the Free Software Foundation; either version 2 of the License, or (at
Packit eba2e2
## your option) any later version.
Packit eba2e2
##
Packit eba2e2
## libpipeline is distributed in the hope that it will be useful, but
Packit eba2e2
## WITHOUT ANY WARRANTY; without even the implied warranty of
Packit eba2e2
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit eba2e2
## General Public License for more details.
Packit eba2e2
##
Packit eba2e2
## You should have received a copy of the GNU General Public License
Packit eba2e2
## along with libpipeline; if not, write to the Free Software
Packit eba2e2
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
Packit eba2e2
## USA
Packit eba2e2
Packit eba2e2
SUBDIRS = gnulib/lib lib man
Packit eba2e2
if RUN_TESTS
Packit eba2e2
SUBDIRS += tests
Packit eba2e2
endif
Packit eba2e2
Packit eba2e2
dist_noinst_DATA = NEWS
Packit eba2e2
Packit eba2e2
EXTRA_DIST = \
Packit eba2e2
	.gitignore \
Packit eba2e2
	ChangeLog-2013 \
Packit eba2e2
	autogen.sh \
Packit eba2e2
	gnulib/m4/gnulib-cache.m4 \
Packit eba2e2
	gnulib/m4/gnulib-tool.m4 \
Packit eba2e2
	release.sh
Packit eba2e2
Packit eba2e2
# These macro files are imported by gnulib-tool, but at present not used. We
Packit eba2e2
# include them in the distribution anyway for maximum consistency.
Packit eba2e2
EXTRA_DIST += \
Packit eba2e2
	gnulib/m4/math_h.m4
Packit eba2e2
Packit eba2e2
# Note that autopoint installs into the first directory here. Yes, this
Packit eba2e2
# means that it installs into gnulib/m4, so we always run gnulib-tool after
Packit eba2e2
# autopoint, at least for now. See
Packit eba2e2
# http://lists.gnu.org/archive/html/bug-gnulib/2009-03/msg00154.html and
Packit eba2e2
# thread.
Packit eba2e2
ACLOCAL_AMFLAGS = -I gnulib/m4 -I m4
Packit eba2e2
Packit eba2e2
dist-hook: gen-ChangeLog
Packit eba2e2
Packit eba2e2
gen_start_date = '2013-11-30 21:08'
Packit eba2e2
.PHONY: gen-ChangeLog
Packit eba2e2
gen-ChangeLog:
Packit eba2e2
	$(AM_V_GEN)if test -d .git; then \
Packit eba2e2
		$(top_srcdir)/build-aux/gitlog-to-changelog \
Packit eba2e2
			--format='%s%n%n%b%n' \
Packit eba2e2
			--since="$(gen_start_date)" > $(distdir)/cl-t; \
Packit eba2e2
		rm -f $(distdir)/ChangeLog; \
Packit eba2e2
		mv $(distdir)/cl-t $(distdir)/ChangeLog; \
Packit eba2e2
	fi