#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # NOTE: Unsetting $TERM is necessary since the # PPA build servers have a broken curses setup. # They have $TERM set but do not include the corresponding # terminal definitions. # This lets SciTECO choose a reasonable default # and we've also added some terminal definitions to the # build dependencies. export TERM= # Build with link-time-optimizations export DEB_CFLAGS_MAINT_APPEND=-flto export DEB_CXXFLAGS_MAINT_APPEND=-flto export DEB_LDFLAGS_MAINT_APPEND=-flto %: dh $@ build: dh_testdir dh_auto_configure -- \ --enable-bootstrap \ --with-interface=ncurses \ $(shell dpkg-buildflags --export=configure) dh_auto_build touch $@ clean: dh_testdir dh_auto_clean dh_clean