forked from fuzzball-muck/fuzzball
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.in
52 lines (42 loc) · 1.12 KB
/
Makefile.in
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
#!/bin/make -f
subdirs=src
RM=rm -f
MAKE=make
all: Makefile
for d in ${subdirs}; do \
cd $${d} && ${MAKE} all; \
done
install: Makefile
for d in ${subdirs}; do \
cd $${d} && ${MAKE} install; \
done
@if grep "^#define HAVE_LIBSSL" include/autoconf.h > /dev/null; then \
if [ ! -f game/data/server.pem ]; then \
echo "You can use letsencrypt (with certbot, acme-client, acme.sh, or other clients) to get a free TLS certificate for use in enabling secure, encrypted connections to your MUCK."; \
fi; \
fi
docker: all
docker build -t fbmuck .
docker-compose: all
docker-compose build
install-sysv-inits: Makefile
for d in ${subdirs}; do \
cd $${d} && ${MAKE} install-sysv-inits; \
done
clean:
for d in ${subdirs}; do \
cd $${d} && ${MAKE} clean; \
done
nuke:
for d in ${subdirs}; do \
cd $${d} && ${MAKE} nuke; \
done
${RM} include/autoconf.h
${RM} Makefile config.status config.cache config.log game/restart include/autoconf.h
Makefile: Makefile.in
./config.status Makefile
@echo Please re-run ${MAKE}, because the Makefile was re-generated.
help:
for d in ${subdirs}; do \
cd $${d} && ${MAKE} help; \
done