X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=debian%2Frules;h=b51089f8b59d7160f07ba3f8c7340cf216f03f20;hb=90077c9c139830ba299332f129ce940b1319139a;hp=ba42e5291fabb5689821c7eee5ba168a9a964063;hpb=147cca5876dfbdf56e21289c3a36bec4b4850191;p=dcpomatic.git diff --git a/debian/rules b/debian/rules index ba42e5291..b51089f8b 100755 --- a/debian/rules +++ b/debian/rules @@ -13,11 +13,27 @@ dh $@ override_dh_auto_configure: - ./waf --nocache configure --prefix=/usr --static + LINKFLAGS=$(CDIST_LINKFLAGS) CXXFLAGS="$(CXXFLAGS) $(CDIST_CXXFLAGS)" PKG_CONFIG_PATH=$(CDIST_PKG_CONFIG_PATH) \ + ./waf configure --prefix=/usr --target-debian --enable-debug $(CDIST_EXTRA_CONFIGURE) override_dh_auto_build: - ./waf --nocache build + ./waf build override_dh_auto_install: - ./waf --nocache install --destdir=debian/dcpomatic + ./waf install --destdir=debian/dcpomatic + mkdir -p debian/dcpomatic/usr/share/locale/de/LC_MESSAGES/ + cp -a /usr/local/share/locale/de/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/de/LC_MESSAGES/dcpomatic-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/es/LC_MESSAGES/ + cp -a /usr/local/share/locale/es/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/es/LC_MESSAGES/dcpomatic-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/fr/LC_MESSAGES/ + cp -a /usr/local/share/locale/fr/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/fr/LC_MESSAGES/dcpomatic-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/it/LC_MESSAGES/ + cp -a /usr/local/share/locale/it/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/it/LC_MESSAGES/dcpomatic-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/sv/LC_MESSAGES/ + cp -a /usr/local/share/locale/sv/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/sv/LC_MESSAGES/dcpomatic-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/nl/LC_MESSAGES/ + cp -a /usr/local/share/locale/nl/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/nl/LC_MESSAGES/dcpomatic-wxstd.mo +.PHONY: override_dh_strip +override_dh_strip: + dh_strip