Sync with Shishi, fixes man page bug in debian.
[libtasn1.git] / Makefile.am
blobe1c8abcf777e74f31c2577dc9dd776292b37345f
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 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
22 EXTRA_DIST = windows/asn1-parser/asn1-parser.vcproj             \
23         windows/asn1-parser/config.h windows/libtasn1.ncb       \
24         windows/libtasn1.sln windows/libtasn1.suo               \
25         windows/gnulib/getopt.h windows/gnulib/gnulib.vcproj    \
26         windows/libtasn1/libtasn1.vcproj                        \
27         windows/test-parser/test-parser.vcproj                  \
28         windows/test-tree/test-tree.vcproj
30 SUBDIRS = lib src tests doc
32 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
34 ChangeLog:
35         cvs2cl --FSF --fsf --usermap .cvsusers -I ChangeLog -I .cvs \
36                 -I buildconf
38 htmldir = ../www-gnutls
39 tag = $(PACKAGE)_`echo $(VERSION) | sed 's/\./_/g'`
41 release:
42         if cvs upd -p -r $(tag) NEWS > /dev/null; then false else true; fi
43         cvs rtag $(tag) libtasn1
44         rm -f ChangeLog
45         make ChangeLog
46         cvs commit -m "" ChangeLog
47         cvs rtag -F $(tag) libtasn1
48         make dist
49         gpg -b $(distdir).tar.gz
50         gpg --verify $(distdir).tar.gz.sig
51         cd doc && ./gendocs.sh -o ../$(htmldir)/manual/libtasn1/ $(PACKAGE) "Libtasn1"
52         cp -v doc/reference/html/*.{html,png,devhelp,css} $(htmldir)/manual/libtasn1/reference/
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/