Makefile

Sat, 31 Mar 2018 15:43:28 +0200

author
Kim Alvefur <zash@zash.se>
date
Sat, 31 Mar 2018 15:43:28 +0200
changeset 412
ef66f302fe97
parent 376
c61f8aaf772c
child 416
92ce569b9b73
permissions
-rw-r--r--

plugins.archive: Don't require 'queryid' attribute in iq response

Not needed since <fin> moved out of the last <message>

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)
	./buildscripts/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-modules/raw-file/tip/mod_mam/rsm.lib.lua -O rsm.lib.lua

release: $(MISSING_FILES)
	rm config.unix

.PHONY: all release clean install

mercurial