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