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.
9 # Uncomment this to turn on verbose mode.
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)
19 override_dh_auto_build:
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/dcpomatic2-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/dcpomatic2-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/dcpomatic2-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/dcpomatic2-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/dcpomatic2-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/dcpomatic2-wxstd.mo
36 mkdir -p debian/dcpomatic/usr/share/locale/pl/LC_MESSAGES/
37 cp -a $(CDIST_LOCALE_PREFIX)/pl/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/pl/LC_MESSAGES/dcpomatic2-wxstd.mo
38 mkdir -p debian/dcpomatic/usr/share/locale/ru/LC_MESSAGES/
39 cp -a $(CDIST_LOCALE_PREFIX)/ru/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/ru/LC_MESSAGES/dcpomatic2-wxstd.mo
41 .PHONY: override_dh_strip
43 dh_strip $(CDIST_DEBUG_PACKAGE)
45 override_dh_shlibdeps:
46 dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info