#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # Force UTF8 to workaround doc build error export LC_ALL=C.UTF-8 export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed export DEB_BUILD_MAINT_OPTIONS = hardening=+all DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) # To avoid running configure twice (because gnome-autogen.sh) export NOCONFIGURE=yes %: dh $@ --with python3,gir override_dh_autoreconf: dh_autoreconf --as-needed ./autogen.sh override_dh_auto_configure: dh_auto_configure -- --enable-compile-warnings=no \ --disable-schemas-install \ --disable-silent-rules \ BROWSER_PLUGIN_DIR=/usr/lib/mozilla/plugins override_dh_auto_test: # Disable tests, upstream doesn't use them : # Thumbnail path for the window manager themes TH_DIR=debian/cinnamon-common/usr/share/cinnamon/thumbnails/metacity-1 override_dh_install-indep: dh_install mv $(TH_DIR)/Adwaita.png $(TH_DIR)/Default.png rm -f debian/cinnamon-common/usr/share/cinnamon/js/misc/config.js override_dh_install-arch: dh_install -X.la override_dh_girepository: dh_girepository -l src /usr/lib/$(DEB_HOST_MULTIARCH)/cinnamon override_dh_strip: dh_strip --dbgsym-migration='cinnamon-dbg (<< 3.0.2-1~)' || dh_strip override_dh_python3: dh_python3 /usr/share/cinnamon override_dh_makeshlibs: dh_makeshlibs -pcinnamon -Xlibcinnamon dh_makeshlibs --remaining-packages override_dh_missing: dh_missing --list-missing