Try to fix test/data submodule URL.
[dcpomatic.git] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
8
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11
12 %:
13         dh $@ 
14
15 override_dh_auto_configure:
16         LINKFLAGS=$(CDIST_LINKFLAGS) CXXFLAGS="$(CXXFLAGS) $(CDIST_CXXFLAGS)" PKG_CONFIG_PATH=$(CDIST_PKG_CONFIG_PATH) \
17                  ./waf configure --prefix=/usr $(CDIST_CONFIGURE)
18
19 override_dh_auto_build:
20         ./waf build
21
22 override_dh_auto_install:
23         ./waf install --destdir=debian/dcpomatic
24         mkdir -p debian/dcpomatic/usr/share/locale/de/LC_MESSAGES/
25         cp -a $(CDIST_LOCALE_PREFIX)/de/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/de/LC_MESSAGES/dcpomatic-wxstd.mo
26         mkdir -p debian/dcpomatic/usr/share/locale/es/LC_MESSAGES/
27         cp -a $(CDIST_LOCALE_PREFIX)/es/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/es/LC_MESSAGES/dcpomatic-wxstd.mo
28         mkdir -p debian/dcpomatic/usr/share/locale/fr/LC_MESSAGES/
29         cp -a $(CDIST_LOCALE_PREFIX)/fr/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/fr/LC_MESSAGES/dcpomatic-wxstd.mo
30         mkdir -p debian/dcpomatic/usr/share/locale/it/LC_MESSAGES/
31         cp -a $(CDIST_LOCALE_PREFIX)/it/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/it/LC_MESSAGES/dcpomatic-wxstd.mo
32         mkdir -p debian/dcpomatic/usr/share/locale/sv/LC_MESSAGES/
33         cp -a $(CDIST_LOCALE_PREFIX)/sv/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/sv/LC_MESSAGES/dcpomatic-wxstd.mo
34         mkdir -p debian/dcpomatic/usr/share/locale/nl/LC_MESSAGES/
35         cp -a $(CDIST_LOCALE_PREFIX)/nl/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/nl/LC_MESSAGES/dcpomatic-wxstd.mo
36
37 .PHONY: override_dh_strip
38 override_dh_strip:
39         dh_strip