12e0a880f6
Nah. Trying to package this JS crack in RPM so that it is buildable from
source on openSUSE does not seem easy. Let's just package the deliverables for
now. Those who want to look at sources can use git.
This reverts commit 434550f352
.
18 lines
487 B
Makefile
18 lines
487 B
Makefile
# Version number of loleaflet, no need to be in sync with the loolwsd one
|
|
|
|
VERSION=1.0.0
|
|
|
|
# Version number of the bundled 'draw' thing
|
|
DRAW_VERSION=0.2.4
|
|
|
|
all:
|
|
jake build
|
|
cd plugins/draw-$(DRAW_VERSION) && jake build
|
|
|
|
.PHONY: dist
|
|
dist:
|
|
rm -rf loleaflet-$(VERSION)
|
|
mkdir loleaflet-$(VERSION)
|
|
tar cf - dist plugins/draw-$(DRAW_VERSION)/dist debug/document | (cd loleaflet-$(VERSION) && tar xf -)
|
|
tar cfz loleaflet-$(VERSION).tar.gz loleaflet-$(VERSION)
|
|
rm -rf loleaflet-$(VERSION)
|