1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2000-2012 Free Software Foundation, Inc.
4 # Author: Nikos Mavrogiannopoulos
6 # This file is part of GnuTLS.
8 # This file is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or
11 # (at your option) any later version.
13 # This file is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this file; if not, write to the Free Software Foundation,
20 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-valgrind-tests
24 SUBDIRS = gl lib extra
47 ACLOCAL_AMFLAGS = -I m4 -I gl/m4 -I src/libopts/m4 -I src/gl/m4
49 EXTRA_DIST = cfg.mk maint.mk .clcopying
52 make -C doc/ compare-makefile
53 make -C doc/ compare-exported
54 make -C doc/manpages compare-makefile
55 @echo "*****************************************************************"
56 @echo "Checking symbol changes. If the next step fails, verify that the"
57 @echo "symbols added or removed are correct and copy symbols.last.tmp as"
59 @echo "*****************************************************************"
60 objdump -T $(srcdir)/lib/.libs/libgnutls.so.30 | grep -v ' \*UND\*' | awk '{print $$7 "@" $$6;}' | sort -u >symbols.last.tmp
61 diff -u symbols.last symbols.last.tmp >/dev/null 2>&1
62 rm -f symbols.last.tmp
63 abi-compliance-checker -abi -lib gnutls -old devel/abi3.4.xml -new devel/abi.xml
66 cp -f ChangeLog $(distdir)/
67 $(SED) 's/\@VERSION\@/$(VERSION)/g' -i $(distdir)/src/args-std.def
68 $(SED) 's/\@YEAR\@/$(YEAR)/g' -i $(distdir)/src/args-std.def
69 $(SED) 's/\@PACKAGE_BUGREPORT\@/$(PACKAGE_BUGREPORT)/g' -i $(distdir)/src/args-std.def
70 cd $(distdir)/src/ && for i in *.def;do \
71 if test x"$$i" = x"args-std.def";then continue; fi; \
74 $(SED) -i 's/@subheading \(.*\)/@*\n@var{\1}\n@*/' $$i.tmp; \
75 autogen -Tagman-cmd.tpl $$i.tmp; \
77 mv -f *.1 ../doc/manpages/; \
79 cd $(distdir)/src/ && for i in *-args.c *-args.h;do \
82 touch $(distdir)/doc/*.html $(distdir)/doc/*.pdf $(distdir)/doc/*.info