Software /
code /
verse
File
Makefile @ 485:c9a144591649
component: Avoid adding to the global stream metatable
This allows component and client connections to be made side-by-side.
Previous to this change, loading this connection module would break the
ability to make client connections, due to overriding stream methods such as
:reopen() and :reset().
A next step would be to share the methods that the two connection modules have
in common.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 23 Mar 2023 18:56:32 +0000 |
parent | 419:bf2fe3fc2f73 |
child | 502:783188a44b0a |
line wrap: on
line source
include config.unix ifndef SQUISH $(error Please run ./configure first) endif SOURCE_FILES=$(shell $(SQUISH) --list-files) MISSING_FILES=$(shell $(SQUISH) --list-missing-files) all: verse.lua verse.lua: $(SOURCE_FILES) $(SQUISH) install: verse.lua install -t $(LUA_DIR) -m 644 $^ clean: rm verse.lua $(MISSING_FILES): mkdir -p "$(@D)" wget "$(PROSODY_URL)$@" -O "$@" rsm.lib.lua: wget https://hg.prosody.im/prosody-0.10/raw-file/0.10.1/util/rsm.lua -O rsm.lib.lua release: $(MISSING_FILES) rm config.unix .PHONY: all release clean install