4dfa0737ac
Urchin is an obsolete working name for Scylla. Rename the Jar file to scylla-jmx.jar. Signed-off-by: Pekka Enberg <penberg@scylladb.com>
28 lines
638 B
Makefile
Executable File
28 lines
638 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
DOC = $(CURDIR)/debian/scylla-jmx/usr/share/doc/scylla-jmx
|
|
DEST = $(CURDIR)/debian/scylla-jmx/usr/lib/scylla/jmx
|
|
M2_REPO= $(CURDIR)/m2
|
|
|
|
override_dh_auto_build:
|
|
mvn -Dmaven.repo.local=$(M2_REPO) install
|
|
|
|
override_dh_auto_clean:
|
|
rm -rf target m2
|
|
|
|
override_dh_auto_install:
|
|
mkdir -p $(CURDIR)/debian/scylla-jmx/etc/default/ && \
|
|
cp $(CURDIR)/dist/common/sysconfig/scylla-jmx \
|
|
$(CURDIR)/debian/scylla-jmx/etc/default/
|
|
|
|
mkdir -p $(DOC) && \
|
|
cp $(CURDIR)/*.md $(DOC)
|
|
cp $(CURDIR)/NOTICE $(DOC)
|
|
|
|
mkdir -p $(DEST)
|
|
cp $(CURDIR)/scripts/scylla-jmx $(DEST)
|
|
cp $(CURDIR)/target/scylla-jmx-1.0.jar $(DEST)
|
|
|
|
%:
|
|
dh $@
|