~ubuntu-branches/ubuntu/saucy/pyacidobasic/saucy

« back to all changes in this revision

Viewing changes to .pc/debian-changes-0.1-5/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Georges Khaznadar
  • Date: 2010-08-15 19:34:00 UTC
  • Revision ID: james.westby@ubuntu.com-20100815193400-ywmgp5v7hv0dhexm
Tags: 0.1-6
* fixed the versionless GPL reference
* upgraded Standards-Version to 3.9.1
* first release to Debian. Closes: #593135

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DESTDIR = 
 
2
LRELEASE = lrelease-qt4
 
3
PYPACKAGE = pyacidobasic
 
4
 
 
5
all:    Ui_main.py Ui_prelevement.py pyacidobasic.1.gz languages
 
6
        python setup.py build
 
7
 
 
8
pyacidobasic.1.gz: pyacidobasic.1
 
9
        gzip -c9 $< > $@
 
10
 
 
11
pyacidobasic.1: manpage.xml
 
12
        xsltproc --nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl manpage.xml
 
13
 
 
14
clean:
 
15
        rm -f *~ *.pyc Ui_*.py *.1 *.1.gz lang/*.qm
 
16
        rm -rf build
 
17
 
 
18
install:
 
19
        python setup.py install --root $(DESTDIR)
 
20
 
 
21
languages:
 
22
        $(LRELEASE) lang/*.ts 2>/dev/null || lrelease lang/*.ts
 
23
 
 
24
tsfiles: clean
 
25
        pylupdate4 *.py *.ui -ts lang/*.ts
 
26
 
 
27
helpfiles:
 
28
        @$(MAKE) -C help
 
29
 
 
30
Ui_main.py: main.ui
 
31
        pyuic4 $< | sed -e 's/^from qwt_plot/from PyQt4.Qwt5/' -e 's%\(icons/[a-zA-Z_0-9]*\.svg\)%/usr/share/$(PYPACKAGE)/\1%g' > $@
 
32
 
 
33
Ui_%.py: %.ui
 
34
        pyuic4 $< > $@
 
35
 
 
36
.PHONY: clean all install languages helpfiles tsfiles
 
 
b'\\ No newline at end of file'