# This file is part of Wydawca # Copyright (C) 2007, 2009 Sergey Poznyakoff # # Wydawca 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. # # Wydawca 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 wydawca. If not, see . ACLOCAL_AMFLAGS = -I m4 AUTOMAKE_OPTIONS = gnu 1.8.5 SUBDIRS=gnu gconf src doc etc tests # We never remove files from the configuration directory distuninstallcheck_listfiles = \ find $(prefix) -type f -not -path '$(sysconfdir)/*' gen_start_date = 2009-01-25 .PHONY: make-ChangeLog make-ChangeLog: if test -d .git; then \ $(top_srcdir)/build-aux/gitlog-to-changelog \ --since=$(gen_start_date) | \ sed '/$$/d' | fmt -s > $(distdir)/cl-t; \ cat ChangeLog.svn | sed '/^Local Variables:/,/^End:/d' \ >> $(distdir)/cl-t; \ echo "Local Variables:" >> $(distdir)/cl-t; \ echo "mode: change-log" >> $(distdir)/cl-t; \ echo "version-control: never" >> $(distdir)/cl-t; \ echo "buffer-read-only: t" >> $(distdir)/cl-t; \ echo "End:" >> $(distdir)/cl-t; \ rm -f $(distdir)/ChangeLog; \ mv $(distdir)/cl-t $(distdir)/ChangeLog; \ fi dist-hook: make-ChangeLog .PHONY: ChangeLog ChangeLog: if test -d .git; then \ $(top_srcdir)/build-aux/gitlog-to-changelog \ --since=$(gen_start_date) | \ sed '/$$/d' | fmt -s > ChangeLog; \ cat ChangeLog.svn | sed '/^Local Variables:/,/^End:/d' \ >> ChangeLog; \ echo "Local Variables:" >> ChangeLog; \ echo "mode: change-log" >> ChangeLog; \ echo "version-control: never" >> ChangeLog; \ echo "buffer-read-only: t" >> ChangeLog; \ echo "End:" >> ChangeLog; \ fi