source: trunk/Install/deb/debian/rules

Last change on this file was 181, checked in by chronos, 3 months ago
  • Added: Windows installer for version 1.5.0.
  • Modified: Version 1.5.0 related updates.
  • Modified: Trunk pushed to 1.6.0 alfa version.
  • Property svn:executable set to *
File size: 1.0 KB
Line 
1#!/usr/bin/make -f
2
3# Set temporary HOME for lazarus primary config directory
4export HOME=$(CURDIR)/tmphome
5
6ROOT = $(CURDIR)/debian/vcard-studio
7
8override_dh_auto_clean:
9 $(RM) -r lib
10 $(RM) lib *.res vCardStudio
11
12override_dh_auto_build:
13 lazbuild --build-mode=Release vCardStudio.lpi
14
15override_dh_auto_install:
16 install -d -m 755 $(ROOT)/usr/bin
17 install -s -m 755 vCardStudio $(ROOT)/usr/bin
18 install -d -m 755 $(ROOT)/usr/share/vCardStudio/Languages
19 cp -r Languages/*.po $(ROOT)/usr/share/vCardStudio/Languages
20 cp -r Packages/Common/Languages/*.po $(ROOT)/usr/share/vCardStudio/Languages
21 cp -r Packages/VCard/Languages/*.po $(ROOT)/usr/share/vCardStudio/Languages
22 install -d -m 755 $(ROOT)/usr/share/vCardStudio/Images
23 install -m 644 Images/Profile.png $(ROOT)/usr/share/vCardStudio/Images
24 install -d -m 755 $(ROOT)/usr/share/applications
25 install -m 755 Install/deb/vCardStudio.desktop $(ROOT)/usr/share/applications
26 install -d -m 755 $(ROOT)/usr/share/pixmaps
27 install -m 644 Install/deb/vCardStudio.png $(ROOT)/usr/share/pixmaps
28
29%:
30 dh $@
Note: See TracBrowser for help on using the repository browser.