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