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/translines
|
---|
7 |
|
---|
8 | override_dh_auto_clean:
|
---|
9 | $(RM) -r lib
|
---|
10 | $(RM) lib *.res TransLines
|
---|
11 |
|
---|
12 | override_dh_auto_build:
|
---|
13 | lazbuild --build-mode=Release TransLines.lpi
|
---|
14 |
|
---|
15 | override_dh_auto_install:
|
---|
16 | install -d -m 755 $(ROOT)/usr/bin
|
---|
17 | install -s -m 755 TransLines $(ROOT)/usr/bin
|
---|
18 | install -d -m 755 $(ROOT)/usr/share/applications
|
---|
19 | install -m 755 Install/deb/TransLines.desktop $(ROOT)/usr/share/applications
|
---|
20 | install -d -m 755 $(ROOT)/usr/share/pixmaps
|
---|
21 | install -m 644 Images/64x64/TransLines.png $(ROOT)/usr/share/pixmaps
|
---|
22 | install -d -m 755 $(ROOT)/usr/share/TransLines/languages
|
---|
23 | install -m 755 Languages/*.pot $(ROOT)/usr/share/TransLines/languages
|
---|
24 | install -m 755 Languages/*.po $(ROOT)/usr/share/TransLines/languages
|
---|
25 |
|
---|
26 | %:
|
---|
27 | dh $@
|
---|
Note:
See
TracBrowser
for help on using the repository browser.