File: rules

package info (click to toggle)
jackson-core 2.8.6-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,404 kB
  • ctags: 3,833
  • sloc: java: 32,745; xml: 165; sh: 24; makefile: 16
file content (25 lines) | stat: -rwxr-xr-x 722 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f

VERSION_FILE=src/main/java/com/fasterxml/jackson/core/json/PackageVersion.java

%:
	dh $@

override_dh_auto_configure:
	sh debian/replace-generate.sh $(VERSION_FILE)
	dh_auto_configure

override_dh_auto_install:
	dh_auto_install

	# Install the parent poms (used by the other jackson packages)
	mh_installpom -plibjackson2-core-java --keep-elements=build debian/oss-parent-27.pom
	mh_installpom -plibjackson2-core-java --keep-elements=build debian/jackson-parent-2.8.pom
	mh_installpom -plibjackson2-core-java --keep-elements=build debian/jackson-bom-2.8.5.1.pom

override_dh_auto_clean:
	rm -f $(VERSION_FILE)
	dh_auto_clean

override_dh_installchangelogs:
	dh_installchangelogs release-notes/VERSION