New upstream release.
[debian/fosdem-schedule.git] / debian / rules
1 #!/usr/bin/make -f
2
3 PACKAGE = $(shell dh_listpackages)
4 TMP     = $(CURDIR)/debian/$(PACKAGE)
5 SQLITE  = $(shell dpkg-query --show --showformat='$${Version}\n' libqt4-sql-sqlite | sed -e 's/-[^-]\+$$//')
6
7 %:
8         dh --with quilt $@
9
10 override_dh_auto_configure:
11         qmake
12         pod2man debian/$(PACKAGE).pod > debian/$(PACKAGE).1
13         convert -geometry 32x32 ./data/64x64/fosdem.png debian/fosdem-schedule.xpm
14
15 override_dh_auto_install:
16         INSTALL_ROOT=$(TMP) dh_auto_install
17
18 override_dh_installchangelogs:
19         dh_installchangelogs NEWS
20
21 override_dh_gencontrol:
22         dh_gencontrol -- \
23         -Vsqlite:Depends="$(SQLITE)"
24
25 get-orig-source:
26         # for svn snapshots, otherwise uscan works
27         sh debian/get-orig-source
28
29 .PHONY: get-orig-source