Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
Latest commit
44 lines (30 loc) · 865 Bytes
/
Copy pathMakefile
File metadata and controls
44 lines (30 loc) · 865 Bytes
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
# Debug Hints Library for Lua 5.1, 5.2, 5.3, 5.4 & 5.5
# Copyright (C) 2002-2026 std._debug authors
LDOC = ldoc
LUA = lua
MKDIR = mkdir -p
SED = sed
SPECL = specl
VERSION = git
luadir = lib/std/_debug
SOURCES = \
$(luadir)/init.lua \
$(luadir)/version.lua \
$(NOTHING_ELSE)
all: $(luadir)/version.lua
$(luadir)/version.lua: .FORCE
@echo 'return "Debug hints library / $(VERSION)"'>'$@T';\
if cmp -s '$@''$@T';then \
rm -f '$@T';\
else\
echo'echo return "Debug hints library / $(VERSION)" > $@';\
mv '$@T''$@';\
fi
doc: build-aux/config.ld $(SOURCES)
$(LDOC) -c build-aux/config.ld .
build-aux/config.ld: build-aux/config.ld.in
$(SED) -e "s,@PACKAGE_VERSION@,$(VERSION),"'$<'>'$@'
CHECK_ENV = LUA=$(LUA)
check: $(SOURCES)
LUA=$(LUA)$(SPECL)$(SPECL_OPTS) spec/*_spec.yaml
.FORCE: