*** empty log message ***
[libtasn1.git] / Makefile.am
blob874a580e91cf3d648f4a4489bb4f430c997a2e82
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation
4 # This file is part of LIBTASN1.
6 # This file is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # This file is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 # General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this file; if not, write to the Free Software Foundation,
18 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 EXTRA_DIST = windows/asn1-parser/asn1-parser.vcproj             \
21         windows/asn1-parser/config.h windows/libtasn1.ncb       \
22         windows/libtasn1.sln windows/libtasn1.suo               \
23         windows/gnulib/getopt.h windows/gnulib/gnulib.vcproj    \
24         windows/libtasn1/libtasn1.vcproj                        \
25         windows/test-parser/test-parser.vcproj                  \
26         windows/test-tree/test-tree.vcproj
28 SUBDIRS = lib src tests doc
30 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
32 ChangeLog:
33         cvs2cl --FSF --fsf --usermap .cvsusers -I ChangeLog -I .cvs \
34                 -I buildconf
36 htmldir = ../www-gnutls
37 tag = $(PACKAGE)_`echo $(VERSION) | sed 's/\./_/g'`
39 release:
40         if cvs upd -p -r $(tag) NEWS > /dev/null; then false else true; fi
41         cvs rtag $(tag) libtasn1
42         rm -f ChangeLog
43         make ChangeLog
44         cvs commit -m "" ChangeLog
45         cvs rtag -F $(tag) libtasn1
46         make dist
47         gpg -b $(distdir).tar.gz
48         gpg --verify $(distdir).tar.gz.sig
49         cd doc && ./gendocs.sh -o ../$(htmldir)/manual/libtasn1/ $(PACKAGE) "Libtasn1"
50         cp -v doc/reference/html/*.{html,png,devhelp,css} $(htmldir)/manual/libtasn1/reference/
51         scp $(distdir).tar.gz{,.sig} igloo.linux.gr:~ftp/pub/gnutls/libtasn1
52         ssh igloo.linux.gr 'cd ~ftp/pub/gnutls/libtasn1 && sha1sum *.tar.gz > CHECKSUMS'
53         cp -v $(distdir).tar.gz{,.sig} $(htmldir)/releases/libtasn1/
54         cd $(htmldir) && \
55                 cvs add -kb releases/libtasn1/$(distdir).tar.gz{,.sig} && \
56                 cvs commit -m "Update." manual/libtasn1/ releases/libtasn1/