2 ARCHIVE=xsv-$(VERSION).tar.gz
4 PCRE_CFLAGS:=$(shell pcre-config --cflags)
5 PCRE_LIBS:=$(shell pcre-config --libs)
7 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 $(PCRE_CFLAGS) -DVERSION='"$(VERSION)"'
16 a2x -f manpage -a xsvversion=$(VERSION) $<
19 a2x -f xhtml -a xsvversion=$(VERSION) $<
22 rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`
23 rm -f xsv xsv.1 xsv.1.html docbook-xsl.css
29 git archive --format=tar --prefix=xsv-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
30 scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/
31 rsync xsv.1.html docbook-xsl.css jw:www/sw/xsv/
32 ssh jw "cd www && bin/release-prog xsv $(VERSION)"
33 mv $(ARCHIVE) ~/archives/mj/