#
#
-VERSION = 001
+VERSION = 010
PROGRAM = bti
# 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)
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