/[debian-med]/trunk/packages/freediams/trunk/debian/rules
ViewVC logotype

Contents of /trunk/packages/freediams/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5463 - (show annotations) (download)
Mon Nov 22 15:49:00 2010 UTC (2 years, 5 months ago) by tille
File size: 1534 byte(s)
Minor corrections to new upstream release packaging; upload to unstable
1 #!/usr/bin/make -f
2
3 %:
4 dh $@ --with quilt
5
6 override_dh_auto_configure:
7 lrelease global_resources/translations/*.ts
8 qmake-qt4 -r -config release "CONFIG+=LINUX_INTEGRATED" "INSTALL_ROOT_PATH=$(CURDIR)/debian/tmp/usr/" freediams.pro
9
10 # Upstream does not seem to provide a proper clean target - clean up here
11 override_dh_auto_clean:
12 rm -rf bin/plugins/* bin/freediams
13 find build -type d -name "\.*" -exec rm -rf \{\} \; 2> /dev/null || true
14 rm -rf contrib/quazip/libz.a
15 test ! -f Makefile || make distclean
16
17 override_dh_auto_install:
18 make install
19
20 override_dh_install:
21 # Install documentation
22 mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/freediams/en
23 mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/freediams/fr
24 cp -a global_resources/doc/freediams/en/html/* $(CURDIR)/debian/tmp/usr/share/doc/freediams/en
25 cp -a global_resources/doc/freediams/fr/html/* $(CURDIR)/debian/tmp/usr/share/doc/freediams/fr
26
27 # Remove those Links to dynamic libraries which have no version number (this should only
28 # be provided in -dev packages. But some *.so files are real files without version number
29 # FIXME
30 # find $(CURDIR)/debian/tmp/usr/lib/freediams -type l -name "*.so" -exec rm -f \{\} \;
31
32 # remove doc files from /usr/bin
33 rm -f debian/tmp/usr/bin/[CR]*
34
35 dh_install --autodest
36
37 override_dh_shlibdeps::
38 LD_LIBRARY_PATH=debian/tmp/usr/lib/freediams dh_shlibdeps -l/usr/lib/freediams
39
40 override_dh_installdeb:
41 # remove extra license file
42 rm -f $(CURDIR)/debian/freediams-data/usr/share/freediams/textfiles/COPYING.txt
43 dh_installdeb

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5