Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/pkg-info.mk
4
5 %:
6 dh $@ --buildsystem=eclipse_bundles
7
8 override_dh_gencontrol:
9 # Use the bundle versions as package versions
10 awk 'system("dh_gencontrol -p"$$4" -- -v"$$2"+eclipse$(DEB_VERSION)")' debian/bundles.properties
11
12 # Use the version of org.eclipse.jdt.core bundle for the ecj command line tool
13 #export ECJ_VERSION=${shell grep org.eclipse.jdt.core debian/bundles.properties | cut -f 2}
14 dh_gencontrol -pecj -- -v${shell grep 'org.eclipse.jdt.core\s' debian/bundles.properties | cut -f 2}+eclipse$(DEB_VERSION)