1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164
|
# Guile-Git --- GNU Guile bindings of libgit2
# Copyright © 2016-2018 Erik Edrosa <erik.edrosa@gmail.com>
# Copyright © 2016, 2017 Amirouche Boubekki <amirouche@hypermove.net>
# Copyright © 2017-2021, 2024-2025 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
# Copyright © 2021 Fredrik Salomonsson <plattfot@posteo.net>
#
# This file is part of Guile-Git.
#
# Guile-Git is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Guile-Git is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Guile-Git. If not, see <http://www.gnu.org/licenses/>.
include guile.am
moddir=$(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION)
godir=$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache
SOURCES = \
git.scm \
git/annotated.scm \
git/attr.scm \
git/auth.scm \
git/bindings.scm \
git/blame.scm \
git/blob.scm \
git/branch.scm \
git/checkout.scm \
git/cherrypick.scm \
git/clone.scm \
git/commit.scm \
git/config.scm \
git/cred.scm \
git/describe.scm \
git/diff.scm \
git/errors.scm \
git/fetch.scm \
git/graph.scm \
git/ignore.scm \
git/notes.scm \
git/oid.scm \
git/object.scm \
git/reference.scm \
git/repository.scm \
git/reset.scm \
git/remote.scm \
git/rev-parse.scm \
git/revwalker.scm \
git/settings.scm \
git/signature.scm \
git/status.scm \
git/structs.scm \
git/submodule.scm \
git/tag.scm \
git/tree.scm \
git/types.scm \
git/web.scm \
git/web/html.scm \
git/web/mime-types.scm \
git/web/querystring.scm \
git/web/http.scm \
git/web/template.scm \
git/web/config.scm \
git/web/repository.scm
NODIST_SOURCES = \
git/configuration.scm
TESTS_UTILS = \
tests/helpers.scm \
tests/.ssh/id_rsa_client \
tests/.ssh/id_rsa_client.pub \
tests/.ssh/id_rsa_server \
tests/data/simple-bare.tgz \
tests/data/simple.tgz \
tests/data/README
TESTS = \
tests/strarray.scm \
tests/blob.scm \
tests/branch.scm \
tests/clone.scm \
tests/commit.scm \
tests/config.scm \
tests/describe.scm \
tests/diff.scm \
tests/graph.scm \
tests/ignore.scm \
tests/notes.scm \
tests/oid.scm \
tests/proxy.scm \
tests/reference.scm \
tests/repository.scm \
tests/reset.scm \
tests/remote.scm \
tests/rev-parse.scm \
tests/revwalker.scm \
tests/status.scm \
tests/settings.scm \
tests/submodule.scm \
tests/tag.scm \
tests/tree.scm
TEST_EXTENSIONS = .scm
SCM_LOG_DRIVER = \
$(top_builddir)/pre-inst-env \
$(GUILE) --no-auto-compile -e main \
$(top_srcdir)/build-aux/test-driver.scm
# Tell 'build-aux/test-driver.scm' to display only source file names,
# not indivdual test names.
AM_SCM_LOG_DRIVER_FLAGS = --brief=no
AM_SCM_LOG_FLAGS = --no-auto-compile -L "$(top_srcdir)"
include $(top_srcdir)/doc/local.mk
EXTRA_DIST += \
README.md \
pre-inst-env.in \
build-aux/test-driver.scm \
build-aux/check-libgit2-abi.scm \
guix.scm \
.guix/manifest.scm \
.guix/modules/guile-git-package.scm \
static/bg.png \
static/main.css \
static/README \
$(TESTS) \
$(TESTS_UTILS)
# Perform sanitycheck on bytestructure descriptors from git/structs.scm,
# ensuring that the descriptor size matches the size of the libgit2 type.
check-abi:
CC="$(CC)" \
$(top_builddir)/pre-inst-env $(GUILE) \
--no-auto-compile -e main \
$(top_srcdir)/build-aux/check-libgit2-abi.scm
.PHONY: check-abi
check-local: check-abi
# 'tests/ssh.scm' needs a writable '.ssh' directory where it
# can create config files. Create it.
@if [ "$(abs_top_builddir)" != "$(abs_top_srcdir)" ]; then \
rm -r "$(abs_top_builddir)/tests/.ssh" ; \
cp -r "$(abs_top_srcdir)/tests/.ssh" "$(abs_top_builddir)/tests" ; \
chmod 700 "$(abs_top_builddir)/tests/.ssh" ; \
fi
clean-local:
@if [ "$(abs_top_builddir)" != "$(abs_top_srcdir)" ]; then \
rm -r "$(abs_top_builddir)/tests/.ssh" ; \
fi
|