#!/usr/bin/make -f DEB_DH_SHLIBDEPS_ARGS := -ldebian/nxlibs/usr/lib/nx %: dh $@ build: dh build --before dh_auto_build [ -e programs/Xserver/hw/nxagent ] || cp -r nxagent/programs/Xserver/hw/nxagent programs/Xserver/hw/ cp debian/ubuntu.xpm programs/Xserver/hw/nxagent/nxagent.xpm # build the nx core $(MAKE) World # convert symlinks to real files mkdir -p debian/nxlibs-dev.tmp cp -RL exports/include debian/nxlibs-dev.tmp/ || true dh build --after dh_auto_build clean: rm -rf debian/nxlibs-dev.tmp rm -rf programs/Xserver/hw/nxagent #pre-build:: # # copy the nxagent source # [ -e programs/Xserver/hw/nxagent ] || cp -r /usr/share/nxagent-source/src/programs/Xserver/hw/nxagent programs/Xserver/hw/ #override_dh_auto_build: # # build the nx core # $(MAKE) World # # # convert symlinks to real files # mkdir -p debian/nxlibs-dev.tmp # cp -RL exports/include debian/nxlibs-dev.tmp/ || true