source: trunk/Install/deb/debian/rules

Last change on this file was 125, checked in by chronos, 20 months ago
  • Modified: The game has been renamed to TransLines.
  • Property svn:executable set to *
File size: 843 bytes
Line 
1#!/usr/bin/make -f
2
3# Set temporary HOME for lazarus primary config directory
4export HOME=$(CURDIR)/tmphome
5
6ROOT = $(CURDIR)/debian/translines
7
8override_dh_auto_clean:
9 $(RM) -r lib
10 $(RM) lib *.res TransLines
11
12override_dh_auto_build:
13 lazbuild --build-mode=Release TransLines.lpi
14
15override_dh_auto_install:
16 install -d -m 755 $(ROOT)/usr/bin
17 install -s -m 755 TransLines $(ROOT)/usr/bin
18 install -d -m 755 $(ROOT)/usr/share/applications
19 install -m 755 Install/deb/TransLines.desktop $(ROOT)/usr/share/applications
20 install -d -m 755 $(ROOT)/usr/share/pixmaps
21 install -m 644 Images/64x64/TransLines.png $(ROOT)/usr/share/pixmaps
22 install -d -m 755 $(ROOT)/usr/share/TransLines/languages
23 install -m 755 Languages/*.pot $(ROOT)/usr/share/TransLines/languages
24 install -m 755 Languages/*.po $(ROOT)/usr/share/TransLines/languages
25
26%:
27 dh $@
Note: See TracBrowser for help on using the repository browser.