/[debian]/bti/trunk/Makefile.am
ViewVC logotype

Annotation of /bti/trunk/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1682 - (hide annotations)
Tue Apr 14 16:12:14 2009 UTC (11 years, 10 months ago) by gregoa
File size: 1183 byte(s)
New upstream release:
1 gregoa 1680 bin_PROGRAMS = \
2     bti
3    
4     bti_SOURCES = \
5     bti.c
6    
7     dist_man_MANS = \
8     bti.1 \
9     bti-shrink-urls.1
10    
11     EXTRA_DIST = \
12     bti.xml \
13     bti-shrink-urls.xml \
14     bti.example \
15     bti-bashcompletion \
16     RELEASE-NOTES \
17     bti-shrink-urls
18    
19     %.1: %.xml
20     $(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
21    
22     MAINTAINERCLEANFILES = \
23     $(dist_man_MANS)
24    
25     git-clean:
26     rm -f Makefile.in
27    
28     distclean-local:
29     rm -rf autom4te.cache
30    
31     PREVIOUS_VERSION = 0`expr $(VERSION) - 1`
32    
33     changelog:
34     @ head -1 ChangeLog | grep -q "to v$(PREVIOUS_VERSION)"
35     @ mv ChangeLog ChangeLog.tmp
36     @ echo "Summary of changes from v$(PREVIOUS_VERSION) to v$(VERSION)" >> ChangeLog
37     @ echo "============================================" >> ChangeLog
38     @ echo >> ChangeLog
39     @ git log --pretty=short $(PREVIOUS_VERSION)..HEAD | git shortlog >> ChangeLog
40     @ echo >> ChangeLog
41     @ cat ChangeLog
42     @ cat ChangeLog.tmp >> ChangeLog
43     @ rm ChangeLog.tmp
44    
45     git-release:
46     head -1 ChangeLog | grep -q "to v$(VERSION)"
47     head -1 RELEASE-NOTES | grep -q "bti $(VERSION)"
48     git commit -a -m "release $(VERSION)"
49     cat .git/refs/heads/master > .git/refs/tags/$(VERSION)
50     git gc
51     git prune
52    
53     AUTOMAKE_OPTIONS = foreign

  ViewVC Help
Powered by ViewVC 1.1.26