File: rules

package info (click to toggle)
lucene4.10 4.10.4%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 81,236 kB
  • ctags: 55,119
  • sloc: java: 499,919; xml: 17,225; 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 (4)
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