File: rules

package info (click to toggle)
intellij-annotations 23.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 316 kB
  • sloc: java: 402; sh: 128; makefile: 15
file content (22 lines) | stat: -rwxr-xr-x 596 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

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

export DEB_VERSION_UPSTREAM

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

override_dh_auto_build:
	dh_auto_build -- -p java8 assemble javadoc

override_mh_install:
	mh_install
	mkdir -p debian/libintellij-annotations-java/usr/share/maven-repo/com/intellij/
	cp -al debian/*/usr/share/maven-repo/org/jetbrains/* \
		debian/*/usr/share/maven-repo/com/intellij/
	sed -i \
		-e 's,org\.jetbrains,com.intellij,g' \
		-e 's,libjetbrains-annotations,libintellij-annotations,g' \
		debian/*/usr/share/maven-repo/com/intellij/*/*/*pom