File: rules

package info (click to toggle)
lucene4.10 4.10.4%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 81,260 kB
  • sloc: java: 499,919; xml: 17,224; python: 1,956; perl: 1,177; cpp: 330; jsp: 125; makefile: 16; sh: 10
file content (23 lines) | stat: -rwxr-xr-x 1,000 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
23
#!/usr/bin/make -f

export VERSION=$(shell dpkg-parsechangelog -SVersion | sed -e 's,^\(.*:\)*\(.*\)+dfsg-.*,\2,')

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

override_dh_auto_build:
	dh_auto_build -- -buildfile queryparser/build.xml regenerate
	dh_auto_build -- -Dversion=$(VERSION) jar

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.txt

override_dh_auto_clean:
	dh_auto_clean
	rm -rf debian/_ivy
	find -path \*/lib/\*.jar | xargs -r rm -f

get-orig-pom:
	for module in parent solr-grandparent analyzers-common analyzers-icu analyzers-kuromoji analyzers-morfologik analyzers-phonetic analyzers-smartcn analyzers-stempel analyzers-uima benchmark classification codecs core demo expressions facet grouping highlighter join memory misc queries queryparser replicator sandbox spatial suggest test-framework; do \
		wget https://repo1.maven.org/maven2/org/apache/lucene/lucene-$$module/$(VERSION)/lucene-$$module-$(VERSION).pom -O debian/poms/lucene-$$module.pom.xml ; \
	done