~ubuntu-branches/ubuntu/trusty/padre/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2009-02-18 15:55:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090218155500-puuiwalh3xps7e1p
Tags: 0.27.ds1-1
Initial Release. Closes: #492696 -- ITP

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
include /usr/share/quilt/quilt.make
 
4
 
 
5
build: build-stamp
 
6
build-stamp: $(QUILT_STAMPFN)
 
7
        xvfb-run dh build
 
8
        touch $@
 
9
 
 
10
clean: unpatch
 
11
        dh $@
 
12
 
 
13
PO_DIR = $(CURDIR)/debian/padre/usr/share/perl5/auto/share/dist/Padre/locale
 
14
install: install-stamp
 
15
install-stamp: build-stamp
 
16
        dh install
 
17
        dh_link /usr/share/man/man3/Padre.3pm.gz /usr/share/man/man1/padre.1.gz
 
18
        for f in $(PO_DIR)/*.po; do \
 
19
            msgfmt $$f -o $${f%.po}.mo ; \
 
20
            rm $$f ;\
 
21
        done
 
22
        touch $@
 
23
 
 
24
binary-arch:
 
25
 
 
26
binary-indep: install
 
27
        dh $@
 
28
 
 
29
binary: binary-arch binary-indep
 
30
.PHONY: binary binary-arch binary-indep install clean build
 
31
 
 
32
.PHONY: get-orig-source
 
33
get-orig-source:
 
34
        uscan --force