2015-05-19 06:29:55 -05:00
|
|
|
# Version number of loleaflet, no need to be in sync with the loolwsd one
|
|
|
|
|
2015-07-07 10:32:55 -05:00
|
|
|
VERSION=1.2.1
|
2015-05-19 06:29:55 -05:00
|
|
|
|
|
|
|
# Version number of the bundled 'draw' thing
|
|
|
|
DRAW_VERSION=0.2.4
|
|
|
|
|
|
|
|
all:
|
|
|
|
jake build
|
|
|
|
cd plugins/draw-$(DRAW_VERSION) && jake build
|
|
|
|
|
|
|
|
.PHONY: dist
|
2015-05-27 08:30:06 -05:00
|
|
|
dist: all
|
2015-05-20 08:00:47 -05:00
|
|
|
rm -rf loleaflet-$(VERSION)
|
|
|
|
mkdir loleaflet-$(VERSION)
|
2015-05-20 12:46:12 -05:00
|
|
|
cp README loleaflet-$(VERSION)
|
2015-05-27 08:30:06 -05:00
|
|
|
tar cf - dist plugins/draw-$(DRAW_VERSION)/dist debug/document src/scrollbar | (cd loleaflet-$(VERSION) && tar xf -)
|
2015-05-20 08:00:47 -05:00
|
|
|
tar cfz loleaflet-$(VERSION).tar.gz loleaflet-$(VERSION)
|
|
|
|
rm -rf loleaflet-$(VERSION)
|
2015-05-20 12:46:12 -05:00
|
|
|
|
2015-07-07 02:57:58 -05:00
|
|
|
loleaflet.spec: loleaflet.spec.in Makefile
|
2015-05-20 12:46:12 -05:00
|
|
|
sed -e 's/@PACKAGE_VERSION@/$(VERSION)/g' <loleaflet.spec.in >loleaflet.spec
|