summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 72f9a4e7792f0408bfae700eba68f1ef93d81d61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SUBDIRS = src
EXTRA_DIST = HACKING vte.spec vte.pc.in

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = vte.pc

CVSTAG=$(shell echo $(PACKAGE)-$(VERSION) | sed 's,[\.\-],_,g')

tag:
	cvs tag -cFR $(CVSTAG) .

archive:
	root=`cat CVS/Root` ; \
	repo=`cat CVS/Repository` ; \
	dir=`pwd` ; \
	tmpdir=`mktemp -d /tmp/$(PACKAGE)-cvsXXXXXX` ; \
	cd $$tmpdir ; \
	cvs -d $$root export -r $(CVSTAG) $$repo ; \
	cd $$repo ; \
	./autogen.sh ; \
	make distcheck ; \
	cp $(PACKAGE)-$(VERSION).tar.gz $$dir ; \
	rm -fr $$tmpdir

srpm: $(PACKAGE)-$(VERSION).tar.gz
	rpm -ts $(PACKAGE)-$(VERSION).tar.gz