~nico-inattendu/luciole/bug_740324

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: NicoInattendu
  • Date: 2011-03-01 14:23:08 UTC
  • Revision ID: nico@inattendu.org-20110301142308-rzst90npw39kp6br
 debian file updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
# -*- makefile -*-
3
 
 
4
 
DEB_INSTALL_MANPAGES_LUCIOLE = luciole.1
5
 
 
6
 
build: build-stamp
7
 
 
8
 
build-stamp:
9
 
        dh_testdir
10
 
        $(MAKE)
 
2
 
 
3
%:
 
4
        dh $@
 
5
 
 
6
override_dh_auto_build:
 
7
        dh_auto_build
11
8
        pod2man --section=1 --center "" debian/luciole.pod luciole.1
12
 
        touch $@
13
 
 
14
 
clean:
15
 
        dh_testdir
16
 
        dh_testroot
17
 
        rm -f build-stamp configure-stamp
18
 
 
 
9
 
 
10
override_dh_auto_clean:
 
11
        dh_auto_clean
 
12
        find . -name "*.mo" -exec rm -f {} \;
19
13
        rm -f luciole.1
20
 
        $(MAKE) clean
21
 
 
22
 
        dh_clean 
23
 
 
24
 
install: build
25
 
        dh_testdir
26
 
        dh_testroot
27
 
        dh_clean -k 
28
 
        dh_installdirs
29
 
 
30
 
        $(MAKE) install DESTDIR=$(CURDIR)/debian/luciole
31
 
 
32
 
binary-arch: build install
33
 
        dh_testdir
34
 
        dh_testroot
35
 
        dh_installchangelogs 
36
 
        dh_installdocs
37
 
        dh_installman luciole.1
38
 
        dh_compress
39
 
        dh_fixperms
40
 
        dh_installdeb
41
 
        dh_shlibdeps
42
 
        dh_gencontrol
43
 
        dh_md5sums
44
 
        dh_builddeb
45
 
 
46
 
binary: binary-indep binary-arch
47
 
.PHONY: build clean binary-indep binary-arch binary install configure