Skip to content
Newer
Older
100644 82 lines (64 sloc) 1.61 KB
0a3aefc @gregkh convert to use autotools
authored Apr 13, 2009
1 bin_PROGRAMS = \
2 bti
3
7c20622 @gregkh Install bti-shrink-urls properly
authored Apr 14, 2009
4 bin_SCRIPTS = \
5 bti-shrink-urls
6
0a3aefc @gregkh convert to use autotools
authored Apr 13, 2009
7 bti_SOURCES = \
9185ab0 @gregkh create bti.h
authored Jan 12, 2011
8 bti.h \
c8f5627 @gregkh add config.c
authored Jan 12, 2011
9 config.c \
0a3aefc @gregkh convert to use autotools
authored Apr 13, 2009
10 bti.c
11
a120a11 @Flameeyes build system: use consistently pkg-config to check for dependencies
Flameeyes authored Aug 27, 2010
12 bti_CFLAGS = \
13 $(LIBCURL_CFLAGS) \
14 $(XML_CFLAGS) \
a8bec22 @paulrho include JSON library
paulrho authored Jun 22, 2013
15 $(JSON_CFLAGS) \
a120a11 @Flameeyes build system: use consistently pkg-config to check for dependencies
Flameeyes authored Aug 27, 2010
16 $(LIBPCRE_CFLAGS) \
7276d1a @gregkh Revert "turn on some better compiler warnings."
authored Jan 14, 2011
17 $(LIBOAUTH_CFLAGS)
8446557 @gregkh fix up the autoconf checking for liboauth and other libraries
authored Aug 17, 2010
18
19 bti_LDADD = \
20 $(LIBCURL_LIBS) \
21 $(XML_LIBS) \
a8bec22 @paulrho include JSON library
paulrho authored Jun 21, 2013
22 $(JSON_LIBS) \
8446557 @gregkh fix up the autoconf checking for liboauth and other libraries
authored Aug 18, 2010
23 $(LIBPCRE_LIBS) \
24 $(LIBOAUTH_LIBS)
25
0a3aefc @gregkh convert to use autotools
authored Apr 13, 2009
26 dist_man_MANS = \
27 bti.1 \
28 bti-shrink-urls.1
29
e855bb6 @scop Install bash completion
scop authored Feb 18, 2015
30 bashcompdir = @bashcompdir@
31 dist_bashcomp_DATA = bti-bashcompletion
32
0a3aefc @gregkh convert to use autotools
authored Apr 13, 2009
33 EXTRA_DIST = \
34 bti.xml \
32b70e4 @gregkh Makefile.am and configure.ac tweaks to get the release correct
authored Apr 13, 2009
35 bti-shrink-urls.xml \
0dbbadb @gregkh add more forgotten files to Makefile.am
authored Apr 13, 2009
36 bti.example \
04d8ea9 @gregkh add the script to the tarball.
authored Apr 14, 2009
37 RELEASE-NOTES \
38 bti-shrink-urls
0a3aefc @gregkh convert to use autotools
authored Apr 13, 2009
39
eb16f22 @gregkh more autoconf fun
authored Apr 13, 2009
40 %.1: %.xml
7e3a07b @gregkh fix build of man pages
authored Apr 14, 2009
41 $(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
0a3aefc @gregkh convert to use autotools
authored Apr 13, 2009
42
eb16f22 @gregkh more autoconf fun
authored Apr 13, 2009
43 MAINTAINERCLEANFILES = \
44 $(dist_man_MANS)
45
46 git-clean:
47 rm -f Makefile.in
48
49 distclean-local:
50 rm -rf autom4te.cache
51
e855bb6 @scop Install bash completion
scop authored Feb 18, 2015
52 install-data-hook:
53 mv $(DESTDIR)$(bashcompdir)/bti-bashcompletion \
54 $(DESTDIR)$(bashcompdir)/bti
55
56 uninstall-hook:
57 $(RM) $(DESTDIR)$(bashcompdir)/bti
58
eb16f22 @gregkh more autoconf fun
authored Apr 13, 2009
59 PREVIOUS_VERSION = 0`expr $(VERSION) - 1`
60
61 changelog:
62 @ head -1 ChangeLog | grep -q "to v$(PREVIOUS_VERSION)"
63 @ mv ChangeLog ChangeLog.tmp
64 @ echo "Summary of changes from v$(PREVIOUS_VERSION) to v$(VERSION)" >> ChangeLog
65 @ echo "============================================" >> ChangeLog
66 @ echo >> ChangeLog
67 @ git log --pretty=short $(PREVIOUS_VERSION)..HEAD | git shortlog >> ChangeLog
68 @ echo >> ChangeLog
69 @ cat ChangeLog
70 @ cat ChangeLog.tmp >> ChangeLog
71 @ rm ChangeLog.tmp
72
73 git-release:
74 head -1 ChangeLog | grep -q "to v$(VERSION)"
669a6a7 @gregkh another git-release fix
authored Apr 13, 2009
75 head -1 RELEASE-NOTES | grep -q "bti $(VERSION)"
eb16f22 @gregkh more autoconf fun
authored Apr 13, 2009
76 git commit -a -m "release $(VERSION)"
77 cat .git/refs/heads/master > .git/refs/tags/$(VERSION)
78 git gc
79 git prune
0a3aefc @gregkh convert to use autotools
authored Apr 13, 2009
80
81 AUTOMAKE_OPTIONS = foreign
Something went wrong with that request. Please try again.