source: bluegriffon/trunk/fuentes/debian/rules @ 2736

Last change on this file since 2736 was 2736, checked in by mabarracus, 3 years ago

Fix tarball search string

  • Property svn:executable set to *
File size: 720 bytes
Line 
1#!/usr/bin/make -f
2%:
3        dh $@
4
5override_dh_auto_clean:
6        rm -rf BlueGriffon
7
8override_dh_install:
9ifeq ($(DEB_BUILD_ARCH),amd64)
10        tar xjf tarballs/bluegriffon-*x86_64.tar.bz2
11else
12        tar xjf tarballs/bluegriffon-*i686.tar.bz2
13endif
14        mv bluegriffon BlueGriffon
15
16        chmod -x BlueGriffon/distribution/extensions/*.xpi
17        chmod -x BlueGriffon/modules/devtools/*.jsm
18        chmod -x BlueGriffon/modules/accessibility/*.jsm
19        chmod -x BlueGriffon/components/*.js
20
21        dh_install
22
23        [ ! -d debian/bluegriffon-data/usr/share/bluegriffon/components ] || mv debian/bluegriffon-data/usr/share/bluegriffon/components/*.so debian/bluegriffon/usr/lib/bluegriffon/
24
25override_dh_shlibdeps:
26        dh_shlibdeps -l$(CURDIR)/debian/bluegriffon/usr/lib/bluegriffon
Note: See TracBrowser for help on using the repository browser.