X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=debian%2Frules;h=2e266ada046609e96a9032df883c748f2a8e4d54;hp=29f926c31651a2feb2b76792320f0a4fce70198e;hb=e8582393bd1367fff36bae8e053d799073d8b2ed;hpb=373f010a7f04add1f49169cbaa60cb7ae5f508d4 diff --git a/debian/rules b/debian/rules index 29f926c31..2e266ada0 100755 --- a/debian/rules +++ b/debian/rules @@ -10,18 +10,40 @@ #export DH_VERBOSE=1 %: - dh $@ + dh $@ override_dh_auto_configure: LINKFLAGS=$(CDIST_LINKFLAGS) CXXFLAGS="$(CXXFLAGS) $(CDIST_CXXFLAGS)" PKG_CONFIG_PATH=$(CDIST_PKG_CONFIG_PATH) \ - ./waf --nocache configure --prefix=/usr --static --enable-debug + ./waf configure --prefix=/usr $(CDIST_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 $(CDIST_LOCALE_PREFIX)/de/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/de/LC_MESSAGES/dcpomatic2-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/es/LC_MESSAGES/ + cp -a $(CDIST_LOCALE_PREFIX)/es/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/es/LC_MESSAGES/dcpomatic2-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/fr/LC_MESSAGES/ + cp -a $(CDIST_LOCALE_PREFIX)/fr/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/fr/LC_MESSAGES/dcpomatic2-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/it/LC_MESSAGES/ + cp -a $(CDIST_LOCALE_PREFIX)/it/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/it/LC_MESSAGES/dcpomatic2-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/sv/LC_MESSAGES/ + cp -a $(CDIST_LOCALE_PREFIX)/sv/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/sv/LC_MESSAGES/dcpomatic2-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/nl/LC_MESSAGES/ + cp -a $(CDIST_LOCALE_PREFIX)/nl/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/nl/LC_MESSAGES/dcpomatic2-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/pl/LC_MESSAGES/ + cp -a $(CDIST_LOCALE_PREFIX)/pl/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/pl/LC_MESSAGES/dcpomatic2-wxstd.mo + mkdir -p debian/dcpomatic/usr/share/locale/ru/LC_MESSAGES/ + cp -a $(CDIST_LOCALE_PREFIX)/ru/LC_MESSAGES/wxstd.mo debian/dcpomatic/usr/share/locale/ru/LC_MESSAGES/dcpomatic2-wxstd.mo .PHONY: override_dh_strip override_dh_strip: - dh_strip --dbg-package=dcpomatic-dbg + dh_strip $(CDIST_DEBUG_PACKAGE) + +override_dh_shlibdeps: + dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info + +override_dh_fixperms: + dh_fixperms --exclude usr/bin/dcpomatic2_uuid