File: rules

package info (click to toggle)
igv 2.18.5%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 174,428 kB
  • sloc: java: 121,493; xml: 10,326; sh: 184; ansic: 92; javascript: 54; makefile: 19
file content (27 lines) | stat: -rwxr-xr-x 937 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f

export DH_OPTIONS
include /usr/share/dpkg/default.mk

JAVA_HOME=/usr/lib/jvm/default-java

%:
	dh  $@ --buildsystem=gradle --with javahelper

override_dh_auto_configure:
	cp debian/log4j.xml src/main/resources/
	# Converting my home-made svg icons into png ones
	cd debian/icons && \
	        inkscape -o Home24.png Home24.svg && \
	        inkscape -o Refresh24.png Refresh24.svg && \
	        inkscape -o Stop16.png Stop16.svg && \
	        inkscape -o ZoomIn24.png ZoomIn24.svg && \
	        inkscape -o ZoomOut24.png ZoomOut24.svg && \
	        mkdir ../../src/main/resources-icons && \
	        mv *.png ../../src/main/resources-icons/

override_dh_auto_install:
	dh_auto_install
	# Installing the icon of the software.
	mkdir -p debian/$(DEB_SOURCE)/usr/share/icons/hicolor/64x64/apps/
	cp src/main/resources/org/broad/igv/ui/resources/IGV_64.png debian/$(DEB_SOURCE)/usr/share/icons/hicolor/64x64/apps/igv.png