snip off final newlines when we're matching, they're usually not wanted.
[vte.git] / Makefile.am
1 SUBDIRS = src gnome-pty-helper python termcaps po doc
2 EXTRA_DIST = HACKING vte.spec vte.pc.in
3
4 pkgconfigdir = $(libdir)/pkgconfig
5 pkgconfig_DATA = vte.pc
6
7 CVSTAG=$(shell echo $(PACKAGE)-$(VERSION) | sed 's,[\.\-],_,g')
8
9 forcetag:
10         cvs tag -cFR $(CVSTAG) .
11
12 reallytag:
13         cvs tag -cR $(CVSTAG) .
14
15 tag:
16         $(top_srcdir)/autogen.sh
17         $(MAKE) reallytag
18
19 archive:
20         root=`cat $(top_srcdir)/CVS/Root` ; \
21         repo=`cat $(top_srcdir)/CVS/Repository` ; \
22         tmpdir=`mktemp -d /tmp/$(PACKAGE)-cvsXXXXXX` ; \
23         dir=`pwd` ; \
24         cd $$tmpdir ; \
25         cvs -d $$root export -r $(CVSTAG) $$repo ; \
26         cd $$tmpdir/$$repo ; \
27         ./autogen.sh ; \
28         make distcheck ; \
29         cp $(PACKAGE)-$(VERSION).tar.gz $$dir/ ; \
30         rm -fr $$tmpdir
31
32 srpm: $(top_srcdir)/$(PACKAGE)-$(VERSION).tar.gz
33         rpmbuild -ts $(top_srcdir)/$(PACKAGE)-$(VERSION).tar.gz