#!/usr/bin/make -f # Set temporary HOME for lazarus primary config directory export HOME=$(CURDIR)/tmphome ROOT = $(CURDIR)/debian/tunneler override_dh_auto_clean: $(RM) -r lib $(RM) lib *.res Tunneler override_dh_auto_build: lazbuild --build-mode=Release tunneler.lpi override_dh_auto_install: install -d -m 755 $(ROOT)/usr/bin install -s -m 755 Tunneler $(ROOT)/usr/bin install -d -m 755 $(ROOT)/usr/share/applications install -m 755 Install/common/Tunneler.desktop $(ROOT)/usr/share/applications install -d -m 755 $(ROOT)/usr/share/pixmaps install -m 644 Images/64x64/Tunneler.png $(ROOT)/usr/share/pixmaps install -d -m 755 $(ROOT)/usr/share/Tunneler/Languages install -D -m 755 Languages/*.pot $(ROOT)/usr/share/Tunneler/Languages install -D -m 755 Languages/*.po $(ROOT)/usr/share/Tunneler/Languages install -d -m 755 $(ROOT)/usr/share/Tunneler/Audio install -D -m 755 Audio/*.wav $(ROOT)/usr/share/Tunneler/Audio %: dh $@