# This file is part of GNU Pies. # Copyright (C) 2008-2013 Sergey Poznyakoff # # GNU Pies is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # GNU Pies is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Pies. If not, see . ACLOCAL_AMFLAGS = -I m4 -I am -I grecs/am -I imprimatur SUBDIRS=gnu grecs lib ident src imprimatur doc po dist-hook: @PATCHLEV=`echo "$(PACKAGE_VERSION)" | \ sed -r "s/[0-9]+\.[0-9]+\.?//"`; \ if test $${PATCHLEV:-0} -lt 50; then \ if grep -q FIXME NEWS; then \ echo >&2 "NEWS file contains FIXMEs"; \ exit 1; \ fi; \ fi alpha: $(MAKE) dist distdir=$(PACKAGE)-$(VERSION)-`date +"%Y%m%d"` alphacheck: $(MAKE) distcheck distdir=$(PACKAGE)-$(VERSION)-`date +"%Y%m%d"` # Name of the previous ChangeLog file. prev_change_log = ChangeLog.mfd # Start Git ChangeLog from this date. gen_start_date = 2009-09-04 .PHONY: ChangeLog ChangeLog: $(AM_V_GEN)if test -d .git; then \ git log --pretty='format:%ct %an <%ae>%n%n%s%n%n%b%n' | \ awk -f $(top_srcdir)/@GRECS_SUBDIR@/build-aux/git2chg.awk \ -vsince=\"$(gen_start_date)\" -vappend=\"$(prev_change_log)\" \ > ChangeLog.tmp; \ cmp ChangeLog ChangeLog.tmp > /dev/null 2>&1 || \ mv ChangeLog.tmp ChangeLog; \ rm -f ChangeLog.tmp; \ fi