git.iko.soy/typeable/pandoc
on master help sign in
Ensure that we have always up-to-date version of ChangeLog before creating
45f317eroktas
ChangeLog+13−1
@@ -1,3 +1,15 @@
1+2006-10-30 Recai Oktaş <roktas@debian.org>
2+
3+ Make debian/rules executable to avoid errors in 'distclean' target.
4+
5+2006-10-30 Recai Oktaş <roktas@debian.org>
6+
7+ Modifications to create a nice ChangeLog.
8+ + Add new file 'gnuify-changelog.pl' grabbed and adapted from subversion
9+ distribution.
10+ + Add 'ChangeLog' target to create/update ChangeLog.
11+ + Update current ChangeLog.
12+
12006-10-30 Recai Oktaş <roktas@debian.org>
132006-10-30 Recai Oktaş <roktas@debian.org>
2
14
3 Really fix cabal version detection.
15 Really fix cabal version detection.
@@ -262,7 +274,7 @@
262
274
263 initial import
275 initial import
264
276
265−2006-10-03
277+05:49:25 |
266
278
267 Initial directory structure.
279 Initial directory structure.
268
280
Makefile+10−3
@@ -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
199
199
200+.PHONY: ChangeLog
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..."
204+ svn update ..
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! ***"; \
208+ fi
202
209
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; \