summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 65a452d78778882434c2fc27300da5b9217f9e41 (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
27
28
29
## Process this file with automake to produce Makefile.in

SUBDIRS = lib src tests doc

ChangeLog:
	cvs2cl --FSF --fsf --usermap .cvsusers -I ChangeLog -I .cvs \
		-I buildconf

htmldir = ../www-gnutls
tag = $(PACKAGE)_`echo $(VERSION) | sed 's/\./_/g'`

release:
	if cvs upd -p -r $(tag) NEWS > /dev/null; then false else true; fi
	cvs rtag $(tag) libtasn1
	rm -f ChangeLog
	make ChangeLog
	cvs commit -m "" ChangeLog
	cvs rtag -F $(tag) libtasn1
	make dist
	gpg -b $(distdir).tar.gz
	gpg --verify $(distdir).tar.gz.sig
	cd doc && ./gendocs.sh -o ../$(htmldir)/manual/libtasn1/ $(PACKAGE) "Libtasn1"
	cp -v doc/reference/html/*.{html,png,devhelp,css} $(htmldir)/manual/libtasn1/reference/
	scp $(distdir).tar.gz{,.sig} igloo.linux.gr:/ftp/pub/gnutls/libtasn1
	ssh igloo.linux.gr 'cd /ftp/pub/gnutls/libtasn1 && sha1sum *.tar.gz *.tar.bz2 > CHECKSUMS'
	cp -v $(distdir).tar.gz{,.sig} $(htmldir)/releases/libtasn1/
	cd $(htmldir) && \
		cvs add -kb releases/libtasn1/$(distdir).tar.gz{,.sig} && \
		cvs commit -m "Update." manual/libtasn1/ releases/libtasn1/