File: rules

package info (click to toggle)
eclipse-jdt-core 4.26-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 108,268 kB
  • sloc: java: 1,619,004; xml: 7,014; sh: 23; makefile: 6
file content (14 lines) | stat: -rwxr-xr-x 561 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --buildsystem=eclipse_bundles

override_dh_gencontrol:
	# Use the bundle versions as package versions
	awk 'system("dh_gencontrol -p"$$4" -- -v"$$2"+eclipse$(DEB_VERSION)")' debian/bundles.properties

	# Use the version of org.eclipse.jdt.core bundle for the ecj command line tool
	#export ECJ_VERSION=${shell grep org.eclipse.jdt.core debian/bundles.properties | cut -f 2}
	dh_gencontrol -pecj -- -v${shell grep org.eclipse.jdt.core debian/bundles.properties | cut -f 2}+eclipse$(DEB_VERSION)