File: rules

package info (click to toggle)
pleiades 1.3.1-dfsg-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 125,784 kB
  • ctags: 835
  • sloc: java: 6,562; xml: 1,341; makefile: 10
file content (18 lines) | stat: -rwxr-xr-x 510 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

packagename=pleiades
eclipse_dir=usr/share/eclipse

%:
	dh  $@

override_dh_auto_build:
	ant -Dbin.dir=$(CURDIR)/build/bin -Dbuild.dir=$(CURDIR)/build build.full

override_dh_auto_install:
	unzip -q -d $(CURDIR)/debian/$(packagename)/$(eclipse_dir) $(CURDIR)/build/$(packagename).zip
# remove unneeded files
	-rm -r $(CURDIR)/debian/$(packagename)/$(eclipse_dir)/readme
	-rm $(CURDIR)/debian/$(packagename)/$(eclipse_dir)/*cmd