#!/usr/bin/make -f # Set temporary HOME for lazarus primary config directory export HOME=$(CURDIR)/tmphome ROOT = $(CURDIR)/debian/acronym-decoder override_dh_auto_clean: $(RM) -r lib $(RM) lib *.res AcronymDecoder override_dh_auto_build: lazbuild --build-mode=Release AcronymDecoder.lpi override_dh_auto_install: install -Dm755 AcronymDecoder -t $(ROOT)/usr/bin install -Dm644 Languages/*.po -t $(ROOT)/usr/share/AcronymDecoder/Languages install -Dm644 Packages/Common/Languages/*.po -t $(ROOT)/usr/share/AcronymDecoder/Languages install -Dm644 Install/shared/acronym-decoder.xml -t $(ROOT)/usr/share/mime/packages install -Dm644 Install/shared/AcronymDecoder.desktop -t $(ROOT)/usr/share/applications install -Dm644 Images/256x256/AcronymDecoder.png -t $(ROOT)/usr/share/icons/hicolor/256x256/apps install -Dm644 Images/256x256/AcronymDecoder.png $(ROOT)/usr/share/pixmaps/application-adp.png install -Dm644 Examples/*.adp -t $(ROOT)/usr/share/AcronymDecoder/Examples %: dh $@