/[debian]/bti/branches/upstream/current/Makefile.am
ViewVC logotype

Contents of /bti/branches/upstream/current/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2336 - (show annotations)
Fri Jan 14 01:14:54 2011 UTC (10 years, 6 months ago) by gregoa
File size: 1412 byte(s)
[svn-upgrade] new version bti (029)
1 bin_PROGRAMS = \
2 bti
3
4 bin_SCRIPTS = \
5 bti-shrink-urls
6
7 bti_SOURCES = \
8 bti.h \
9 config.c \
10 bti.c
11
12 bti_CFLAGS = \
13 $(LIBCURL_CFLAGS) \
14 $(XML_CFLAGS) \
15 $(LIBPCRE_CFLAGS) \
16 $(LIBOAUTH_CFLAGS)
17
18 bti_LDADD = \
19 $(LIBCURL_LIBS) \
20 $(XML_LIBS) \
21 $(LIBPCRE_LIBS) \
22 $(LIBOAUTH_LIBS)
23
24 dist_man_MANS = \
25 bti.1 \
26 bti-shrink-urls.1
27
28 EXTRA_DIST = \
29 bti.xml \
30 bti-shrink-urls.xml \
31 bti.example \
32 bti-bashcompletion \
33 RELEASE-NOTES \
34 bti-shrink-urls
35
36 %.1: %.xml
37 $(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
38
39 MAINTAINERCLEANFILES = \
40 $(dist_man_MANS)
41
42 git-clean:
43 rm -f Makefile.in
44
45 distclean-local:
46 rm -rf autom4te.cache
47
48 PREVIOUS_VERSION = 0`expr $(VERSION) - 1`
49
50 changelog:
51 @ head -1 ChangeLog | grep -q "to v$(PREVIOUS_VERSION)"
52 @ mv ChangeLog ChangeLog.tmp
53 @ echo "Summary of changes from v$(PREVIOUS_VERSION) to v$(VERSION)" >> ChangeLog
54 @ echo "============================================" >> ChangeLog
55 @ echo >> ChangeLog
56 @ git log --pretty=short $(PREVIOUS_VERSION)..HEAD | git shortlog >> ChangeLog
57 @ echo >> ChangeLog
58 @ cat ChangeLog
59 @ cat ChangeLog.tmp >> ChangeLog
60 @ rm ChangeLog.tmp
61
62 git-release:
63 head -1 ChangeLog | grep -q "to v$(VERSION)"
64 head -1 RELEASE-NOTES | grep -q "bti $(VERSION)"
65 git commit -a -m "release $(VERSION)"
66 cat .git/refs/heads/master > .git/refs/tags/$(VERSION)
67 git gc
68 git prune
69
70 AUTOMAKE_OPTIONS = foreign

  ViewVC Help
Powered by ViewVC 1.1.26