Replace use of alloca with malloc.
[libtasn1.git] / Makefile.am
blob1ba11bd175f825cf4daa845f2d592ac10d3d9ba8
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
4 # This file is part of LIBTASN1.
6 # This program is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
21 EXTRA_DIST = windows/asn1-parser/asn1-parser.vcproj             \
22         windows/asn1-parser/config.h windows/libtasn1.ncb       \
23         windows/libtasn1.sln windows/libtasn1.suo               \
24         windows/gnulib/getopt.h windows/gnulib/gnulib.vcproj    \
25         windows/libtasn1/libtasn1.vcproj                        \
26         windows/test-parser/test-parser.vcproj                  \
27         windows/test-tree/test-tree.vcproj
29 SUBDIRS = gl lib src examples tests doc
31 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
33 ChangeLog:
34         git log --pretty --numstat --summary | git2cl > ChangeLog
36 htmldir = ../www-gnutls
37 tag = $(PACKAGE)_`echo $(VERSION) | sed 's/\./_/g'`
39 release:
40         ! git-tag -l $(tag) | grep $(PACKAGE) > /dev/null
41         rm -f ChangeLog
42         $(MAKE) ChangeLog distcheck
43         gpg -b $(distdir).tar.gz
44         gpg --verify $(distdir).tar.gz.sig
45         cd doc && ../build-aux/gendocs.sh -o ../$(htmldir)/manual/libtasn1/ $(PACKAGE) "Libtasn1"
46         cp -v doc/reference/html/*.html doc/reference/html/*.png doc/reference/html/*.devhelp doc/reference/html/*.css $(htmldir)/manual/libtasn1/reference/
47         cp -v $(distdir).tar.gz $(distdir).tar.gz.sig $(htmldir)/releases/libtasn1/
48         git commit -m Generated. ChangeLog
49         git-tag -u b565716f! -m $(VERSION) $(tag)
50         git-push --tags
51         git-push
52         scp $(distdir).tar.gz $(distdir).tar.gz.sig igloo.linux.gr:~ftp/pub/gnutls/libtasn1/
53         ssh igloo.linux.gr 'cd ~ftp/pub/gnutls/libtasn1/ && sha1sum *.tar.gz > CHECKSUMS'
54         cd $(htmldir) && \
55                 cvs add -kb releases/libtasn1/$(distdir).tar.gz \
56                         releases/libtasn1/$(distdir).tar.gz.sig && \
57                 cvs commit -m "Update." manual/libtasn1/ releases/libtasn1/