Updates to hall...
This commit is contained in:
parent
6189ac719a
commit
cc77f26fcd
93
Makefile.am
93
Makefile.am
|
@ -1,93 +0,0 @@
|
||||||
bin_SCRIPTS = scripts/listen \
|
|
||||||
scripts/say \
|
|
||||||
scripts/listen
|
|
||||||
|
|
||||||
nodist_noinst_SCRIPTS = pre-inst-env
|
|
||||||
|
|
||||||
GOBJECTS = $(SOURCES:%.scm=%.go)
|
|
||||||
|
|
||||||
moddir=$(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION)
|
|
||||||
godir=$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache
|
|
||||||
ccachedir=$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache
|
|
||||||
|
|
||||||
nobase_dist_mod_DATA = $(SOURCES) $(NOCOMP_SOURCES)
|
|
||||||
nobase_go_DATA = $(GOBJECTS)
|
|
||||||
|
|
||||||
# Make sure source files are installed first, so that the mtime of
|
|
||||||
# installed compiled files is greater than that of installed source
|
|
||||||
# files. See
|
|
||||||
# <http://lists.gnu.org/archive/html/guile-devel/2010-07/msg00125.html>
|
|
||||||
# for details.
|
|
||||||
guile_install_go_files = install-nobase_goDATA
|
|
||||||
$(guile_install_go_files): install-nobase_dist_modDATA
|
|
||||||
|
|
||||||
GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
|
|
||||||
SUFFIXES = .scm .go
|
|
||||||
.scm.go:
|
|
||||||
$(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE_TOOLS) compile $(GUILE_TARGET) $(GUILE_WARNINGS) -o "$@" "$<"
|
|
||||||
|
|
||||||
SOURCES = bugafriend.scm \
|
|
||||||
bugafriend/utils/registry.go \
|
|
||||||
bugafriend/utils/registry.scm \
|
|
||||||
bugafriend/hconfig.scm \
|
|
||||||
bugafriend/hconfig.go \
|
|
||||||
bugafriend/listener.go \
|
|
||||||
bugafriend/listener.scm \
|
|
||||||
bugafriend/ui.go \
|
|
||||||
bugafriend/ui.scm
|
|
||||||
|
|
||||||
TESTS =
|
|
||||||
|
|
||||||
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=yes
|
|
||||||
|
|
||||||
AM_SCM_LOG_FLAGS = --no-auto-compile -L "$(top_srcdir)"
|
|
||||||
|
|
||||||
AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)"
|
|
||||||
|
|
||||||
info_TEXINFOS = doc/version.texi \
|
|
||||||
doc/bugafriend.texi
|
|
||||||
|
|
||||||
EXTRA_DIST = README.org \
|
|
||||||
README \
|
|
||||||
HACKING \
|
|
||||||
COPYING \
|
|
||||||
doc/.dirstamp \
|
|
||||||
doc/stamp-vti \
|
|
||||||
doc/bugafriend.info \
|
|
||||||
NEWS \
|
|
||||||
AUTHORS \
|
|
||||||
ChangeLog \
|
|
||||||
guix.scm \
|
|
||||||
.gitignore \
|
|
||||||
hall.scm \
|
|
||||||
build-aux/texinfo.tex \
|
|
||||||
build-aux/test-driver.scm \
|
|
||||||
build-aux/missing \
|
|
||||||
build-aux/install-sh \
|
|
||||||
build-aux/mdate-sh \
|
|
||||||
configure.ac \
|
|
||||||
Makefile.am \
|
|
||||||
pre-inst-env.in \
|
|
||||||
build-aux/test-driver.scm \
|
|
||||||
$(TESTS)
|
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
|
||||||
|
|
||||||
AM_DISTCHECK_DVI_TARGET = info # Disable DVI as part of distcheck
|
|
||||||
|
|
||||||
clean-go:
|
|
||||||
-$(RM) $(GOBJECTS)
|
|
||||||
.PHONY: clean-go
|
|
||||||
|
|
||||||
CLEANFILES = \
|
|
||||||
$(BUILT_SOURCES) \
|
|
||||||
$(GOBJECTS) \
|
|
||||||
$(TESTS:tests/%.scm=%.log)
|
|
41
configure.ac
41
configure.ac
|
@ -1,41 +0,0 @@
|
||||||
dnl -*- Autoconf -*-
|
|
||||||
|
|
||||||
AC_INIT(bugafriend, 0.1)
|
|
||||||
AC_SUBST(HVERSION, "\"0.1\"")
|
|
||||||
AC_SUBST(AUTHOR, "\"Vivi Langdon\"")
|
|
||||||
AC_SUBST(COPYRIGHT, "'(2024)")
|
|
||||||
AC_SUBST(LICENSE, gpl3+)
|
|
||||||
AC_CONFIG_SRCDIR(bugafriend.scm)
|
|
||||||
AC_CONFIG_AUX_DIR([build-aux])
|
|
||||||
AM_INIT_AUTOMAKE([1.12 gnu silent-rules subdir-objects color-tests parallel-tests -Woverride -Wno-portability])
|
|
||||||
AM_SILENT_RULES([yes])
|
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile])
|
|
||||||
AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
|
|
||||||
AC_CONFIG_FILES([scripts/say],[chmod +x scripts/say])
|
|
||||||
AC_CONFIG_FILES([scripts/listen],[chmod +x scripts/listen])
|
|
||||||
dnl Search for 'guile' and 'guild'. This macro defines
|
|
||||||
dnl 'GUILE_EFFECTIVE_VERSION'.
|
|
||||||
GUILE_PKG([3.0 2.2 2.0])
|
|
||||||
GUILE_PROGS
|
|
||||||
GUILE_SITE_DIR
|
|
||||||
if test "x$GUILD" = "x"; then
|
|
||||||
AC_MSG_ERROR(['guild' binary not found; please check your guile-2.x installation.])
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$cross_compiling" != no; then
|
|
||||||
GUILE_TARGET="--target=$host_alias"
|
|
||||||
AC_SUBST([GUILE_TARGET])
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Hall auto-generated guile-module dependencies
|
|
||||||
GUILE_MODULE_REQUIRED([goblins])
|
|
||||||
GUILE_MODULE_REQUIRED([ncurses curses])
|
|
||||||
|
|
||||||
dnl Installation directories for .scm and .go files.
|
|
||||||
guilemoduledir="${datarootdir}/guile/site/$GUILE_EFFECTIVE_VERSION"
|
|
||||||
guileobjectdir="${libdir}/guile/$GUILE_EFFECTIVE_VERSION/site-ccache"
|
|
||||||
AC_SUBST([guilemoduledir])
|
|
||||||
AC_SUBST([guileobjectdir])
|
|
||||||
|
|
||||||
AC_OUTPUT
|
|
6
hall.scm
6
hall.scm
|
@ -26,6 +26,8 @@
|
||||||
"utils"
|
"utils"
|
||||||
((compiled-scheme-file "registry")
|
((compiled-scheme-file "registry")
|
||||||
(scheme-file "registry")))
|
(scheme-file "registry")))
|
||||||
|
(scheme-file "user")
|
||||||
|
(scheme-file "room")
|
||||||
(scheme-file "hconfig")
|
(scheme-file "hconfig")
|
||||||
(compiled-scheme-file "hconfig")
|
(compiled-scheme-file "hconfig")
|
||||||
(compiled-scheme-file "listener")
|
(compiled-scheme-file "listener")
|
||||||
|
@ -36,7 +38,8 @@
|
||||||
(programs
|
(programs
|
||||||
((directory
|
((directory
|
||||||
"scripts"
|
"scripts"
|
||||||
((text-file "listen")
|
((text-file "say")
|
||||||
|
(text-file "listen")
|
||||||
(in-file "say")
|
(in-file "say")
|
||||||
(in-file "listen")))))
|
(in-file "listen")))))
|
||||||
(documentation
|
(documentation
|
||||||
|
@ -50,6 +53,7 @@
|
||||||
(text-file ".dirstamp")
|
(text-file ".dirstamp")
|
||||||
(text-file "stamp-vti")
|
(text-file "stamp-vti")
|
||||||
(info-file "bugafriend")
|
(info-file "bugafriend")
|
||||||
|
(info-file "version")
|
||||||
(texi-file "bugafriend")))
|
(texi-file "bugafriend")))
|
||||||
(text-file "NEWS")
|
(text-file "NEWS")
|
||||||
(text-file "AUTHORS")
|
(text-file "AUTHORS")
|
||||||
|
|
Loading…
Reference in New Issue