1 ## Copyright © 2015, 2016 Christopher Allan Webber <cwebber@dustycloud.org>
3 ## parts of this automake recipe borrowed from:
5 ## GNU Guix --- Functional package management for GNU
6 ## Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
7 ## Copyright © 2013 Andreas Enge <andreas@enge.fr>
8 ## Copyright © 2015 Alex Kost <alezost@gmail.com>
11 ## Copyright (C) 2013, 2014 David Thompson <dthompson2@worcester.edu>
13 ## This program is free software: you can redistribute it and/or
14 ## modify it under the terms of the GNU General Public License as
15 ## published by the Free Software Foundation, either version 3 of the
16 ## License, or (at your option) any later version.
18 ## This program is distributed in the hope that it will be useful, but
19 ## WITHOUT ANY WARRANTY; without even the implied warranty of
20 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 ## General Public License for more details.
23 ## You should have received a copy of the GNU General Public License
24 ## along with this program. If not, see
25 ## <http://www.gnu.org/licenses/>.
27 GOBJECTS = $(SOURCES:%.scm=%.go)
28 nobase_mod_DATA = $(SOURCES)
29 nobase_go_DATA = $(GOBJECTS)
31 # Make sure source files are installed first, so that the mtime of
32 # installed compiled files is greater than that of installed source
34 # <http://lists.gnu.org/archive/html/guile-devel/2010-07/msg00125.html>
36 guile_install_go_files = install-nobase_goDATA
37 $(guile_install_go_files): install-nobase_modDATA
39 GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
42 $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE_TOOLS) compile $(GUILE_WARNINGS) -o "$@" "$<"
44 moddir=$(prefix)/share/guile/site/2.0
45 godir=$(libdir)/guile/2.0/ccache
49 mudsync/game-master.scm \
51 mudsync/networking.scm \
55 mudsync/run-game.scm \
57 mudsync/package-config.scm \
58 mudsync/contrib/mime-types.scm \
62 # tests/test-agenda.scm \
63 # tests/test-actors.scm
65 TEST_EXTENSIONS = .scm
67 SCM_LOG_COMPILER = $(GUILE)
68 AM_SCM_LOG_FLAGS = --no-auto-compile -L $(top_srcdir)
72 $(TESTS:tests/%.scm=%.log) \
81 worlds/bricabrac.scm \
82 worlds/goblin-hq.scm \
83 data/web-static/css/main.css \
84 data/web-static/js/mudsync.js \
88 ## This isn't going to help us much till after the jam ;)
90 # ## Make changelog on demand
92 # dist-hook: gen-ChangeLog
93 # # gen-AUTHORS might be useful to borrow from Guix
96 # if test -d .git; then \
97 # $(top_srcdir)/build-aux/gitlog-to-changelog --since 2015-11-28 \
98 # > $(distdir)/cl-t; \
99 # rm -f $(distdir)/ChangeLog; \
100 # mv $(distdir)/cl-t $(distdir)/ChangeLog; \
105 # info_TEXINFOS = doc/mudsync.texi
107 # mudsync_TEXINFOS = \
110 dvi-local: # Skip dvi docs