Try to fix wxWidgets string i18n on Debian/Ubuntu.
[dcpomatic.git] / debian / rules
index 3320087a5a48cead85eaee75a2a7968ea39e97ad..619dfff5ea6d4afce35cebadf39e0993cd9901d1 100755 (executable)
        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 --nocache configure --prefix=/usr --target-debian --enable-debug $(CDIST_EXTRA_CONFIGURE)
 
 override_dh_auto_build:
        ./waf --nocache build
 
 override_dh_auto_install:
-       ./waf --nocache install --destdir=debian/dvdomatic
+       ./waf --nocache install --destdir=debian/dcpomatic
 
+.PHONY: override_dh_strip
+override_dh_strip:
+       dh_strip