Merge master.
[dcpomatic.git] / debian / rules
index 3320087a5a48cead85eaee75a2a7968ea39e97ad..c0db3f77aff09eb5db203ce97d1d652f70c4235c 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 --static
 
 override_dh_auto_build:
        ./waf --nocache build
 
 override_dh_auto_install:
-       ./waf --nocache install --destdir=debian/dvdomatic
-
+       ./waf --nocache install --destdir=debian/dcpomatic