Merge branch 'master' of git.carlh.net:git/dcpomatic
[dcpomatic.git] / debian / rules
index 619dfff5ea6d4afce35cebadf39e0993cd9901d1..dd27a7552479569ce627b0c8886aa87aadedf0c0 100755 (executable)
@@ -21,6 +21,18 @@ override_dh_auto_build:
 
 override_dh_auto_install:
        ./waf --nocache 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: