@@ -197,10 +197,17 @@ tags: $(src_all)
197 cd $(SRCDIR) && hasktags -c $(src_all:$(SRCDIR)/%=%); \
197 cd $(SRCDIR) && hasktags -c $(src_all:$(SRCDIR)/%=%); \
198 LC_ALL=C sort tags >tags.sorted; mv tags.sorted tags
198 LC_ALL=C sort tags >tags.sorted; mv tags.sorted tags
201+# should always attempt to update ChangeLog, hence .PHONY
200−ChangeLog: ../.svn/entries gnuify-changelog.pl
202+ChangeLog: gnuify-changelog.pl
203+ @echo "Updating ChangeLog file before packaging..."
201− svn log .. | sed 's/(no author)//' | ./gnuify-changelog.pl >$@
205+ svn log .. | sed 's/| (no author) |/| |/' | ./gnuify-changelog.pl >$@
206+ @if [ -n "$$(svn status $@))" ]; then \
207+ echo "*** ChangeLog modified, please commit changes! ***"; \
203−deb: debian
210+deb: debian ChangeLog
204 [ -x /usr/bin/fakeroot ] || { \
211 [ -x /usr/bin/fakeroot ] || { \
205 echo "*** Please install fakeroot package. ***"; \
212 echo "*** Please install fakeroot package. ***"; \
206 exit 1; \
213 exit 1; \