release 030
[gregoa/bti.git] / Makefile.am
index b895e7c..904a058 100644 (file)
@@ -1,20 +1,40 @@
 bin_PROGRAMS = \
        bti
+
+bin_SCRIPTS = \
        bti-shrink-urls
 
 bti_SOURCES = \
+       bti.h \
+       config.c \
        bti.c
 
+bti_CFLAGS = \
+       $(LIBCURL_CFLAGS) \
+       $(XML_CFLAGS) \
+       $(LIBPCRE_CFLAGS) \
+       $(LIBOAUTH_CFLAGS)
+
+bti_LDADD = \
+       $(LIBCURL_LIBS) \
+       $(XML_LIBS) \
+       $(LIBPCRE_LIBS) \
+       $(LIBOAUTH_LIBS)
+
 dist_man_MANS = \
        bti.1 \
        bti-shrink-urls.1
 
 EXTRA_DIST = \
        bti.xml \
-       bti-shrink-urls.xml
+       bti-shrink-urls.xml \
+       bti.example \
+       bti-bashcompletion \
+       RELEASE-NOTES \
+       bti-shrink-urls
 
 %.1: %.xml
-        $(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+       $(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
 
 MAINTAINERCLEANFILES = \
        $(dist_man_MANS)
@@ -41,7 +61,7 @@ changelog:
 
 git-release:
        head -1 ChangeLog | grep -q "to v$(VERSION)"
-       head -1 RELEASE-NOTES | grep -q "udev $(VERSION)"
+       head -1 RELEASE-NOTES | grep -q "bti $(VERSION)"
        git commit -a -m "release $(VERSION)"
        cat .git/refs/heads/master > .git/refs/tags/$(VERSION)
        git gc