File: rules

package info (click to toggle)
ecj 3.16.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 29,048 kB
  • sloc: java: 414,634; xml: 2,293; makefile: 11; sh: 1
file content (17 lines) | stat: -rwxr-xr-x 521 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

VERSION       := $(shell dpkg-parsechangelog --show-field Version | sed 's/-[^-]*//')
UVERSION      := $(shell echo $(VERSION) | sed 's/~.*//')

%:
	dh $@ --buildsystem=ant --with maven-repo-helper

override_dh_auto_build:
	dh_auto_build -- -f debian/build.xml -Dversion=$(UVERSION)

override_dh_auto_clean:

get-orig-pom:
	mkdir -p debian/poms
	wget  -U NoSuchBrowser/1.0 -O debian/poms/ecj.pom \
        https://repo1.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/$(VERSION)/ecj-$(VERSION).pom