Add getopt, for src/ tools in MSVS.
[libtasn1.git] / Makefile.am
blobd055dd6c812a355c5b6c0ab2e13fe8a1cbfc0a77
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 SUBDIRS = lib src tests doc
22 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
24 ChangeLog:
25         cvs2cl --FSF --fsf --usermap .cvsusers -I ChangeLog -I .cvs \
26                 -I buildconf
28 htmldir = ../www-gnutls
29 tag = $(PACKAGE)_`echo $(VERSION) | sed 's/\./_/g'`
31 release:
32         if cvs upd -p -r $(tag) NEWS > /dev/null; then false else true; fi
33         cvs rtag $(tag) libtasn1
34         rm -f ChangeLog
35         make ChangeLog
36         cvs commit -m "" ChangeLog
37         cvs rtag -F $(tag) libtasn1
38         make dist
39         gpg -b $(distdir).tar.gz
40         gpg --verify $(distdir).tar.gz.sig
41         cd doc && ./gendocs.sh -o ../$(htmldir)/manual/libtasn1/ $(PACKAGE) "Libtasn1"
42         cp -v doc/reference/html/*.{html,png,devhelp,css} $(htmldir)/manual/libtasn1/reference/
43         scp $(distdir).tar.gz{,.sig} igloo.linux.gr:~ftp/pub/gnutls/libtasn1
44         ssh igloo.linux.gr 'cd ~ftp/pub/gnutls/libtasn1 && sha1sum *.tar.gz > CHECKSUMS'
45         cp -v $(distdir).tar.gz{,.sig} $(htmldir)/releases/libtasn1/
46         cd $(htmldir) && \
47                 cvs add -kb releases/libtasn1/$(distdir).tar.gz{,.sig} && \
48                 cvs commit -m "Update." manual/libtasn1/ releases/libtasn1/