source: trunk/Install/deb/debian/rules

Last change on this file was 42, checked in by chronos, 6 years ago
  • Fixed: DEB rules file to build on Launchpad.
  • Property svn:executable set to *
File size: 841 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/cooldisk
7
8override_dh_auto_clean:
9 $(RM) -r lib
10 $(RM) lib *.res CoolDisk
11
12override_dh_auto_build:
13 lazbuild --build-mode=Release CoolDisk.lpi
14
15override_dh_auto_install:
16 install -d -m 755 $(ROOT)/usr/bin
17 install -s -m 755 CoolDisk $(ROOT)/usr/bin
18 install -d -m 755 $(ROOT)/usr/share/CoolDisk/languages
19 install -m 755 Languages/CoolDisk.po $(ROOT)/usr/share/CoolDisk/languages
20 install -m 755 Languages/CoolDisk.cs.po $(ROOT)/usr/share/CoolDisk/languages
21 install -d -m 755 $(ROOT)/usr/share/applications
22 install -m 755 Install/deb/CoolDisk.desktop $(ROOT)/usr/share/applications
23 install -d -m 755 $(ROOT)/usr/share/pixmaps
24 install -m 755 Images/64x64/CoolDisk.png $(ROOT)/usr/share/pixmaps
25
26%:
27 dh $@
Note: See TracBrowser for help on using the repository browser.