File: rules

package info (click to toggle)
jabref 2.10%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 13,808 kB
  • ctags: 12,245
  • sloc: java: 90,549; xml: 1,571; python: 270; sh: 207; makefile: 16
file content (24 lines) | stat: -rwxr-xr-x 659 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_clean:
	# ant clean fails if build.xml is not patched
	$(RM) -r $(CURDIR)/build

override_dh_auto_build:
	JAVA_HOME=/usr/lib/jvm/default-java ANT_OPTS=-D"file.encoding=UTF-8" \
		dh_auto_build
	convert -geometry 32x32 src/images/JabRef-icon-48.png build/jabref32.xpm
	convert -geometry 16x16 src/images/JabRef-icon-48.png build/jabref16.xpm

override_dh_auto_test:
	ANT_OPTS=-Dfile.encoding=iso-8859-1 ant compiletest

override_dh_auto_install:
	dh_auto_install
	install -m 755 debian/jabref-wrapper $(CURDIR)/debian/jabref/usr/bin/jabref

override_dh_installchangelogs:
	dh_installchangelogs src/txt/CHANGELOG