Software /
code /
verse
Comparison
Makefile @ 370:75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 31 Dec 2015 21:12:00 +0000 |
child | 371:88bcf9fbdd07 |
comparison
equal
deleted
inserted
replaced
369:074c547fe05a | 370:75e7917761c0 |
---|---|
1 SQUISH=./buildscripts/squish | |
2 PROSODY_URL=https://hg.prosody.im/0.9/raw-file/tip/ | |
3 SOURCE_FILES=$(shell $(SQUISH) --list-files) | |
4 MISSING_FILES=$(shell $(SQUISH) --list-missing-files) | |
5 | |
6 all: verse.lua | |
7 | |
8 verse.lua: $(SOURCE_FILES) | |
9 ./buildscripts/squish | |
10 | |
11 clean: | |
12 rm verse.lua | |
13 | |
14 $(MISSING_FILES): | |
15 mkdir -p "$(@D)" | |
16 wget "$(PROSODY_URL)$@" -O "$@" | |
17 | |
18 rsm.lib.lua: | |
19 wget https://hg.prosody.im/prosody-modules/raw-file/tip/mod_mam/rsm.lib.lua -O rsm.lib.lua | |
20 | |
21 release: $(MISSING_FILES) | |
22 | |
23 .PHONY: all release clean |