#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 # see FEATURE AREAS in dpkg-buildflags(1) export DEB_BUILD_MAINT_OPTIONS = hardening=+all # see ENVIRONMENT in dpkg-buildflags(1) # package maintainers to append CFLAGS #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic # package maintainers to append LDFLAGS export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed include /usr/share/dpkg/architecture.mk version=0.9.0a1.3 repackv=1 %: dh $@ override_dh_auto_configure: dh_auto_configure -- \ --enable-jp_JP \ --enable-ko_KR \ --enable-th_TH \ --enable-vi_VN \ --enable-zh_CN \ --enable-zh_HK \ --enable-zh_TW \ --enable-zh_TW_hakka \ --enable-zh_TW_taigi override_dh_makeshlibs: override_dh_missing: rm -f debian/*/usr/lib/openvanilla/OVIMGeneric.la dh_missing --fail-missing get-orig-source: rm -rf ../repack mkdir ../repack uscan --force-download --destdir ../repack --download-current-version ( \ cd ../repack ;\ tar zxf openvanilla-modules-$(version).tar.gz ;\ cd openvanilla-modules-$(version) ;\ rm -rf DataTables/dayi3.cin DataTables/tp_hakka_hl.cin DataTables/tp_hakka_sy.cin ;\ cd .. ;\ GZIP="--best" tar -czf openvanilla-modules_$(version)+dfsg$(repackv).orig.tar.gz openvanilla-modules-$(version) ;\ mv openvanilla-modules_$(version)+dfsg$(repackv).orig.tar.gz .. ;\ ) rm -rf ../repack