~ubuntu-branches/ubuntu/intrepid/debian-installer-utils/intrepid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Joey Hess
  • Date: 2004-10-06 14:35:42 UTC
  • Revision ID: james.westby@ubuntu.com-20041006143542-uvoedmvwb1zn0jv9
Tags: 1.08
* Updated translations: 
  - Welsh (cy.po) by Dafydd Harries
  - Hebrew (he.po) by Lior Kaplan
  - Hungarian (hu.po) by VEROK Istvan
  - Romanian (ro.po) by Eddy Petrisor
  - Traditional Chinese (zh_TW.po) by Tetralet

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
build: build-stamp
 
4
build-stamp:
 
5
        dh_testdir
 
6
        $(MAKE)
 
7
        touch build-stamp
 
8
 
 
9
clean:
 
10
        dh_testdir
 
11
        dh_testroot
 
12
        rm -f build-stamp
 
13
        -$(MAKE) clean
 
14
        dh_clean
 
15
 
 
16
binary-indep: build
 
17
        dh_testdir
 
18
        dh_testroot
 
19
        dh_clean -k
 
20
        dh_install -pdi-utils anna-install apt-install debconf-get \
 
21
                              debconf-set register-module search-path \
 
22
                              user-params debconf-set-selections bin
 
23
        dh_installdirs -pdi-utils usr/lib/prebaseconfig.d
 
24
        install register-module.prebaseconfig debian/di-utils/usr/lib/prebaseconfig.d/50register-module
 
25
        dh_installdebconf -i
 
26
        dh_compress -i
 
27
        dh_fixperms -i
 
28
        for file in /etc/terminfo/a/ansi /etc/terminfo/l/linux \
 
29
          /etc/terminfo/v/vt102; do \
 
30
          mkdir -p debian/di-utils-terminfo/`dirname $$file`; \
 
31
          cp -a $$file debian/di-utils-terminfo/$$file; \
 
32
        done
 
33
        #$(MAKE) devicefiles  DEVDIR=debian/di-utils-devicefiles
 
34
        dh_installdeb -i
 
35
        dh_gencontrol -i
 
36
        dh_builddeb -i
 
37
 
 
38
binary-arch: build
 
39
        dh_testdir
 
40
        dh_testroot
 
41
        dh_clean -k
 
42
        dh_install -pdi-utils-mapdevfs mapdevfs bin
 
43
        dh_install -pdi-utils-bootfloppy pipe_progress bin
 
44
        dh_installdebconf -a
 
45
        dh_compress -a
 
46
        dh_fixperms -a
 
47
        dh_installdeb -a
 
48
        dh_strip -a # should come after dh_installdeb; binary postinst
 
49
        dh_shlibdeps -a
 
50
        dh_gencontrol -a
 
51
        dh_builddeb -a
 
52
 
 
53
binary: binary-indep binary-arch
 
54
.PHONY: build clean binary-indep binary-arch binary