]> ToastFreeware Gitweb - gregoa/bti.git/blobdiff - Makefile
Readline support for bti
[gregoa/bti.git] / Makefile
index db03044f972b99ee224c3a1176697f416ed187c3..b39efc9114ec73ed581f4c82382f60969b5a63e7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@
 #
 #
 
-VERSION = 002
+VERSION = 010
 
 PROGRAM = bti
 
@@ -55,10 +55,11 @@ export E Q
 
 # We need -lcurl for the curl stuff
 # We need -lsocket and -lnsl when on Solaris
+# We need -lreadline for readline support
 # We need -lssl and -lcrypto when using libcurl with SSL support
 # We need -lpthread for the pthread example
 #LIB_OBJS = -lcurl -lnsl -lssl -lcrypto
-LIB_OBJS = -lcurl -lnsl
+LIB_OBJS = -lcurl -lnsl -lreadline
 
 all:   $(PROGRAM) $(MAN_PAGES)
 
@@ -100,13 +101,11 @@ clean:
 
 release:
        $(Q) - rm -f bti-$(VERSION).tar.gz
-       $(Q) - rm -f bti-$(VERSION).tar.bz2
        head -1 ChangeLog | grep -q "to v$(VERSION)"
        head -1 RELEASE-NOTES | grep -q "bti $(VERSION)"
        git commit -a -m "release $(VERSION)"
        cat .git/refs/heads/master > .git/refs/tags/$(VERSION)
        @ echo
-       git-archive --format=tar --prefix=bti-$(VERSION)/ HEAD | gzip -9v > bti-$(VERSION).tar.gz
-       git-archive --format=tar --prefix=bti-$(VERSION)/ HEAD | bzip2 -9v > bti-$(VERSION).tar.bz2
+       git archive --format=tar --prefix=bti-$(VERSION)/ HEAD | gzip -9v > bti-$(VERSION).tar.gz
 .PHONY: release