source: trunk/Install/deb/debian/rules

Last change on this file was 95, checked in by chronos, 7 months ago
  • Fixed: Hide main menu with Qt5 widgetset.
  • Fixed: Pack audio files and detect alternative Unix location.
  • Property svn:executable set to *
File size: 950 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/tunneler
7
8override_dh_auto_clean:
9 $(RM) -r lib
10 $(RM) lib *.res Tunneler
11
12override_dh_auto_build:
13 lazbuild --build-mode=Release tunneler.lpi
14
15override_dh_auto_install:
16 install -d -m 755 $(ROOT)/usr/bin
17 install -s -m 755 Tunneler $(ROOT)/usr/bin
18 install -d -m 755 $(ROOT)/usr/share/applications
19 install -m 755 Install/common/Tunneler.desktop $(ROOT)/usr/share/applications
20 install -d -m 755 $(ROOT)/usr/share/pixmaps
21 install -m 644 Images/64x64/Tunneler.png $(ROOT)/usr/share/pixmaps
22 install -d -m 755 $(ROOT)/usr/share/Tunneler/Languages
23 install -D -m 755 Languages/*.pot $(ROOT)/usr/share/Tunneler/Languages
24 install -D -m 755 Languages/*.po $(ROOT)/usr/share/Tunneler/Languages
25 install -d -m 755 $(ROOT)/usr/share/Tunneler/Audio
26 install -D -m 755 Audio/*.wav $(ROOT)/usr/share/Tunneler/Audio
27
28%:
29 dh $@
Note: See TracBrowser for help on using the repository browser.