~vibhavp/ubuntu/raring/debian-med/merge-from-debian

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Tille
  • Date: 2006-09-14 15:28:51 UTC
  • mfrom: (2.1.2 dapper)
  • Revision ID: james.westby@ubuntu.com-20060914152851-uk73iefm1uv1ts5i
Tags: 0.12
* Changed med-practice menu
  Closes: #385584
  Use menu entry for gnumed-client-debug that regards #389932.
  Note: gnumed-client-debug is not in the med-practice dependency
  list but it is suggested by gnumed-client.  So *if* the package
  is installed at the box then an additional menu item occures correctly
  in the Debian-Med menu.  If it is not installed, only gnumed-client
  is shown in the menu.
* med-bio: Added alternative to tree-puzzle as tree-ppuzzle
* Drop med-dent because odontolinux was removed from Debian
* med-bio: Added poa
           Moved vrom Suggests to Depends: seaview (now really free)
           Suggests: wise-doc
* med-imaging: Depends: libfslio0, libniftiio0, nifti-bin
               Suggests: 
* med-imaging-dev: Depends: libfslio0-dev, libniftiio0-dev
                   Suggests: libnifti-doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
cdd=med
9
9
pkgsrc=debian-$(cdd)
10
10
 
11
 
control: gen-control debian/control.stub tasks/* control-stamp
12
 
control-stamp:
13
 
        rm -f debian/control
14
 
        cdd-gen-control -c -m -i
15
 
 
16
 
        touch control-stamp
17
 
 
18
 
build: control-stamp build-stamp
 
11
 
 
12
build: build-stamp
19
13
build-stamp:
20
 
        # Fix *.dsc file to mention all binary targets
21
 
        TASKS="" ; \
22
 
        if [ -d common ] ; then TASKS="$(cdd)-common" ; fi ; \
23
 
        for task in `ls -1 tasks | sort` ; do \
24
 
                if [ "$${TASKS}" != "" ] ; then TASKS="$${TASKS}, " ; fi ; \
25
 
                TASKS="$${TASKS}$(cdd)-$${task}" ; \
26
 
        done ; \
27
 
        sed "s/^\(Binary: \)$(cdd)/\1$${TASKS}/" ../$(pkgsrc)_*.dsc > tmp.dsc ; \
28
 
        mv tmp.dsc ../$(pkgsrc)_*.dsc
29
14
        dh_testdir
30
15
 
31
 
        #/usr/bin/docbook-to-man debian/meta-$(cdd).sgml > meta-$(cdd).1
 
16
        cdd-gen-control -c -m -i -t
32
17
 
33
18
        touch build-stamp
34
19
 
35
 
clean: debian/control
 
20
clean: debian/control tasks/* debian/control.stub
36
21
        dh_testdir
37
22
        dh_testroot
38
 
        rm -f build-stamp control-stamp
39
 
        rm -rf tmp
40
 
        rm -f tasks/*~
41
 
        [ -d menu ] && rm -f debian/$(cdd)-*.post{inst,rm}
42
 
        rm -f debian/$(cdd)-common.{templates,config,install} debian/90$(cdd)-common
43
 
        rm -rf debian/po
44
 
 
45
 
        if [ -f debian/control ] ; then dh_clean ; fi
46
 
        rm -f debian/control
47
 
        ln -s control.stub debian/control
48
 
 
49
 
 
50
 
install: control-stamp build
 
23
        rm -f build-stamp
 
24
 
 
25
        cdd-clean-helper
 
26
 
 
27
install: build
51
28
        dh_testdir
52
29
        dh_testroot
53
30
        dh_clean -k
93
70
        rm -rf $${distdir} ; \
94
71
        mkdir $${distdir} ; \
95
72
        chmod 777 $${distdir} ; \
96
 
        rsync -a --exclude $${distdir} --exclude CVS * $${distdir} ; \
 
73
        rsync -a --exclude $${distdir} --exclude CVS --exclude .svn * $${distdir} ; \
 
74
        ln -s control.stub $${distdir}/debian/control ; \
97
75
        GZIP=-9 tar -czf ../$(pkgsrc)_`cat VERSION`.tar.gz $${distdir} ; \
98
76
        rm -rf $${distdir}
99
77