source: trunk/Install/deb/debian/rules

Last change on this file was 141, checked in by chronos, 3 years ago
  • Fixed: Renamed original .po files to .pot extension.
  • Fixed: snap and deb packages.
  • Fixed: Reduced meaningful build warnings.
  • Property svn:executable set to *
File size: 1.3 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/lazfuck
7
8override_dh_auto_clean:
9 $(RM) -r lib
10 $(RM) lib *.res LazFuck
11
12override_dh_auto_build:
13 lazbuild --build-mode=Release LazFuck.lpi
14
15override_dh_auto_install:
16 install -d -m 755 $(ROOT)/usr/bin
17 install -s -m 755 LazFuck $(ROOT)/usr/bin
18 install -d -m 755 $(ROOT)/usr/share/LazFuck/Languages
19 install -D -m 755 Languages/* $(ROOT)/usr/share/LazFuck/Languages
20 install -d -m 755 $(ROOT)/usr/share/LazFuck/Examples/Others
21 install -D -m 644 Examples/Others/* $(ROOT)/usr/share/LazFuck/Examples/Others
22 install -d -m 755 $(ROOT)/usr/share/LazFuck/Examples/Self-interpreters
23 install -D -m 644 Examples/Self-interpreters/* $(ROOT)/usr/share/LazFuck/Examples/Self-interpreters
24 install -d -m 755 $(ROOT)/usr/share/LazFuck/Examples
25 @install -D -m 644 Examples/* $(ROOT)/usr/share/LazFuck/Examples || true
26 install -d -m 755 $(ROOT)/usr/share/applications
27 install -m 755 Install/deb/LazFuck.desktop $(ROOT)/usr/share/applications
28 install -d -m 755 $(ROOT)/usr/share/mime/packages
29 install -m 644 Install/deb/LazFuck.xml $(ROOT)/usr/share/mime/packages
30 install -d -m 755 $(ROOT)/usr/share/pixmaps
31 install -m 644 Images/64x64/LazFuck.png $(ROOT)/usr/share/pixmaps
32
33%:
34 dh $@
Note: See TracBrowser for help on using the repository browser.