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