/[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 8593 - (hide annotations) (download)
Thu Nov 17 13:13:46 2011 UTC (19 months ago) by tille
File size: 1281 byte(s)
Move freediams-data to freediams-drugs package and keeping only the database there while other content is kept in the main package
1 ericmaeker-guest 4112 #!/usr/bin/make -f
2    
3 tille 8593 pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
4    
5 tille 4133 %:
6 tille 4696 dh $@ --with quilt
7 ericmaeker-guest 4112
8 tille 4133 override_dh_auto_configure:
9 tille 5337 lrelease global_resources/translations/*.ts
10 tille 8593 qmake-qt4 -r -config release "CONFIG+=LINUX_INTEGRATED" "INSTALL_ROOT_PATH=$(CURDIR)/debian/tmp/usr/" LOWERED_APPNAME="$(pkg)" $(pkg).pro
11 ericmaeker-guest 4112
12 tille 4133 # Upstream does not seem to provide a proper clean target - clean up here
13     override_dh_auto_clean:
14 tille 8593 rm -rf bin/plugins/* bin/$(pkg)
15 tille 4133 find build -type d -name "\.*" -exec rm -rf \{\} \; 2> /dev/null || true
16 tille 5001 rm -rf contrib/quazip/libz.a
17 tille 8481 rm -f global_resources/translations/[a-ps-z]*.qm
18     dh_auto_clean
19 ericmaeker-guest 4112
20 tille 4695 override_dh_auto_install:
21     make install
22    
23 tille 4133 override_dh_install:
24 tille 5041 # Remove those Links to dynamic libraries which have no version number (this should only
25     # be provided in -dev packages. But some *.so files are real files without version number
26     # FIXME
27 tille 8593 # find $(CURDIR)/debian/tmp/usr/lib/$(pkg) -type l -name "*.so" -exec rm -f \{\} \;
28 tille 5463
29     # remove doc files from /usr/bin
30     rm -f debian/tmp/usr/bin/[CR]*
31 tille 5041
32 tille 8504 dh_install
33 ericmaeker-guest 4112
34 tille 4133 override_dh_shlibdeps::
35 tille 8593 LD_LIBRARY_PATH=debian/tmp/usr/lib/$(pkg) dh_shlibdeps -l/usr/lib/$(pkg)
36 tille 5018
37     override_dh_installdeb:
38     # remove extra license file
39 tille 8593 rm -f $(CURDIR)/debian/$(pkg)/usr/share/freediams/textfiles/COPYING.txt
40 tille 5018 dh_installdeb

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5