source: trunk/Install/deb/debian/rules

Last change on this file was 696, checked in by chronos, 22 hours ago
  • Modified: Update packaging files.
  • Property svn:executable set to *
File size: 983 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/c-evo
7
8override_dh_auto_clean:
9 $(RM) -r lib
10 $(RM) lib c-evo
11
12override_dh_auto_build:
13 lazbuild --build-mode=Release AI/StdAI/StdAI.lpi
14 mv AI/StdAI/libstdai.so AI/StdAI/libstdai-$(DEB_HOST_ARCH).so
15 lazbuild --build-mode=Release Integrated.lpi
16
17override_dh_auto_install:
18 install -Dm755 c-evo -t $(ROOT)/usr/bin
19 install -Dm644 Install/common/c-evo.desktop -t $(ROOT)/usr/share/applications
20 install -Dm644 Install/common/c-evo.xml -t $(ROOT)/usr/share/mime/packages
21 install -Dm644 Install/common/c-evo_256x256.png $(ROOT)/usr/share/pixmaps/c-evo.png
22 install -Dm644 Install/common/c-evo_256x256.png $(ROOT)/usr/share/pixmaps/application-cevo.png
23 install -Dm644 Install/common/c-evo_256x256.png $(ROOT)/usr/share/pixmaps/application-cevomap.png
24 install -Dm644 AI/StdAI/libstdai-$(DEB_HOST_ARCH).so -t $(ROOT)/usr/share/c-evo/AI/StdAI
25
26%:
27 dh $@
Note: See TracBrowser for help on using the repository browser.