Last change
on this file was 5, checked in by chronos, 7 years ago |
- Fixed: Writeable temporary home directory to build under Lazarus 1.8.
|
-
Property svn:executable
set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | #!/usr/bin/make -f
|
---|
2 |
|
---|
3 | # Set temporary HOME for lazarus primary config directory
|
---|
4 | export HOME=$(CURDIR)/tmphome
|
---|
5 |
|
---|
6 | ROOT = $(CURDIR)/debian/lazpaint
|
---|
7 |
|
---|
8 | override_dh_auto_clean:
|
---|
9 | cd lazpaint; \
|
---|
10 | $(RM) -r lib; \
|
---|
11 | $(RM) lib *.res lazpaint
|
---|
12 |
|
---|
13 | override_dh_auto_build:
|
---|
14 | cd bgrabitmap/bgrabitmap ;\
|
---|
15 | lazbuild bgrabitmappack.lpk
|
---|
16 | cd bgracontrols ;\
|
---|
17 | lazbuild bgracontrols.lpk
|
---|
18 | cd lazpaint ;\
|
---|
19 | lazbuild --build-mode=Release lazpaint.lpi
|
---|
20 |
|
---|
21 | override_dh_auto_install:
|
---|
22 | install -d -m 755 $(ROOT)/usr/bin
|
---|
23 | install -m 755 lazpaint/deb/lazpaint_linux64/usr/bin/lazpaint $(ROOT)/usr/bin
|
---|
24 | install -d -m 755 $(ROOT)/usr/share/applications
|
---|
25 | install -m 755 lazpaint/deb/lazpaint_linux64/usr/share/applications/lazpaint.desktop $(ROOT)/usr/share/applications
|
---|
26 | install -d -m 755 $(ROOT)/usr/share/pixmaps
|
---|
27 | install -m 644 lazpaint/deb/lazpaint_linux64/usr/share/pixmaps/lazpaint.png $(ROOT)/usr/share/pixmaps
|
---|
28 | install -d -m 755 $(ROOT)/usr/share/lazpaint
|
---|
29 | install -s -m 755 lazpaint/release/lazpaint $(ROOT)/usr/share/lazpaint
|
---|
30 | install -d -m 755 $(ROOT)/usr/share/lazpaint/models
|
---|
31 | install -D -m 644 lazpaint/release/models/* $(ROOT)/usr/share/lazpaint/models
|
---|
32 | install -d -m 755 $(ROOT)/usr/share/lazpaint/i18n
|
---|
33 | install -D -m 644 lazpaint/release/i18n/*.po $(ROOT)/usr/share/lazpaint/i18n
|
---|
34 |
|
---|
35 | %:
|
---|
36 | dh $@
|
---|
Note:
See
TracBrowser
for help on using the repository browser.