File

Makefile @ 371:88bcf9fbdd07

configure, Makefile: Add configure script to set build-time variables
author Matthew Wild <mwild1@gmail.com>
date Fri, 01 Jan 2016 15:40:51 +0000
parent 370:75e7917761c0
child 372:0ce6d4a1e2fd
line wrap: on
line source

include config.unix

SOURCE_FILES=$(shell $(SQUISH) --list-files)
MISSING_FILES=$(shell $(SQUISH) --list-missing-files)

all: verse.lua

verse.lua: $(SOURCE_FILES)
	./buildscripts/squish

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)

.PHONY: all release clean