~ubuntu-branches/ubuntu/intrepid/horae/intrepid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Carlo Segre
  • Date: 2008-02-23 23:13:02 UTC
  • mfrom: (2.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080223231302-mnyyxs3icvrus4ke
Tags: 066-3
Apply patch to athena_parts/misc.pl for compatibility with 
perl-tk 804.28.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
# Sample debian/rules that uses debhelper.
3
 
# GNU copyright 1997 to 1999 by Joey Hess.
4
2
 
5
3
# Uncomment this to turn on verbose mode.
6
4
#export DH_VERBOSE=1
11
9
PERL = /usr/bin/perl
12
10
endif
13
11
 
14
 
ifndef DESTDIR
15
 
DESTDIR=..
16
 
endif
17
 
TMP =`pwd`/debian/$(PACKAGE)
18
 
 
19
 
OPTIMIZE = -O2 -Wall
20
 
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
21
 
OPTIMIZE += -g
22
 
endif
23
 
 
24
12
configure: configure-stamp
25
13
configure-stamp:
26
14
        dh_testdir
32
20
 
33
21
build-stamp: configure-stamp 
34
22
        dh_testdir
35
 
        $(MAKE) OPTIMIZE="$(OPTIMIZE)"
36
 
#       # Generate man pages for the major applications
 
23
        $(MAKE)
 
24
        # Generate man pages for the major applications
37
25
        cd Ifeffit/lib/athena.doc ; ./make_doc --man
38
26
        cd Ifeffit/lib/artemis.doc ; ./make_doc --man
39
27
        cd hephaestus_parts ; ./make_doc --man
46
34
        dh_testdir
47
35
        dh_testroot
48
36
        rm -f build-stamp configure-stamp
49
 
        -$(MAKE) realclean
 
37
        [ ! -f Makefile ] || $(MAKE) distclean
50
38
        rm -f */*.db 
51
 
        rm -f */Makefile
52
39
        rm -f athena.pl artemis.pl diana.pl hephaestus.pl athena artemis diana hephaestus
53
40
        rm -f athena_parts/rc.pl artemis_parts/rc.pl diana_parts/rc.pl hephaestus_parts/hephaestus.1
54
41
        rm -f Ifeffit/lib/athena/athenarc Ifeffit/lib/athena/athena.ini Ifeffit/lib/athena/athenarcw Ifeffit/lib/athena.doc/athena.1
65
52
        # Add here commands to install the package into debian/horae.
66
53
        $(MAKE) install PREFIX=$(CURDIR)/debian/horae/usr INSTALLDIRS=vendor
67
54
        rm -rf $(CURDIR)/debian/horae/usr/share/man/man3
68
 
        rm -rf $(CURDIR)/debian/horae/usr/lib/perl5
 
55
        rm -rf $(CURDIR)/debian/horae/usr/lib
69
56
        dh_install debian/athena.xpm usr/share/pixmaps
70
57
        dh_install debian/artemis.xpm usr/share/pixmaps
71
58
        dh_install debian/hephaestus.xpm usr/share/pixmaps