documented fix
[gnutls.git] / guile / modules / Makefile.am
blob1ce64089c2472c47b68c7e7ddfd568fe0ecedc7b
1 #  GnuTLS --- Guile bindings for GnuTLS.
2 #  Copyright (C) 2007-2012 Free Software Foundation, Inc.
4 #  GnuTLS is free software; you can redistribute it and/or
5 #  modify it under the terms of the GNU Lesser General Public
6 #  License as published by the Free Software Foundation; either
7 #  version 2.1 of the License, or (at your option) any later version.
9 #  GnuTLS is distributed in the hope that it will be useful,
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 #  Lesser General Public License for more details.
14 #  You should have received a copy of the GNU Lesser General Public
15 #  License along with GnuTLS; if not, write to the Free Software
16 #  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
18 guilemoduledir = $(GUILE_SITE)
20 nobase_nodist_guilemodule_DATA = gnutls.scm
21 nobase_dist_guilemodule_DATA   = gnutls/extra.scm
23 documentation_modules = system/documentation/README             \
24                         system/documentation/c-snarf.scm        \
25                         system/documentation/output.scm
27 EXTRA_DIST = gnutls/build/enums.scm gnutls/build/smobs.scm      \
28              gnutls/build/utils.scm gnutls/build/priorities.scm \
29              gnutls/build/tests.scm                             \
30              gnutls.in                                          \
31              $(documentation_modules)
33 CLEANFILES = gnutls.scm
35 .in.scm:
36         cat "$^" | $(SED) -e's|[@]guileextensiondir[@]|$(guileextensiondir)|g' \
37           > "$@.tmp"
38         mv "$@.tmp" "$@"