source: pyromaths/trunk/fuentes/debian/rules @ 423

Last change on this file since 423 was 423, checked in by mabarracus, 4 years ago

add sources from pyromaths 15.10

  • Property svn:executable set to *
File size: 1.3 KB
Line 
1#!/usr/bin/make -f
2# -*- makefile -*-
3# Sample debian/rules that uses debhelper.
4# This file was originally written by Joey Hess and Craig Small.
5# As a special exception, when this file is copied by dh-make into a
6# dh-make output file, you may use that output file without restriction.
7# This special exception was added by Craig Small in version 0.37 of dh-make.
8
9# Uncomment this to turn on verbose mode.
10#export DH_VERBOSE=1
11include /usr/share/python/python.mk
12
13clean:
14        dh_testdir
15        dh_testroot
16        dh_clean
17        rm -rf build
18        rm -rf debian/pyromaths
19        find . -name '*.py[co]' | xargs rm -f
20
21build-arch: build
22
23build-indep: build
24     
25install: build
26        dh_testdir
27        dh_testroot
28        dh_prep
29        python setup.py install --root=debian/pyromaths --no-compile --install-layout=deb
30
31# Build architecture-independent files here.
32binary-indep: build install
33        dh_testdir
34        dh_testroot
35        dh_installchangelogs NEWS
36        #dh_installmenu
37        dh_installdocs
38        dh_install
39        #dh_link
40        dh_icons
41        dh_compress -X.pdf -X.py
42        dh_fixperms
43        #dh_python2 -i -V '2.5-3.0' -p pyromaths -v
44        dh_python2
45        dh_installdeb
46        dh_gencontrol
47        dh_md5sums
48        dh_builddeb
49
50# Build architecture-dependent files here.
51binary-arch:
52# We have nothing to do by default.
53
54binary: binary-indep binary-arch
55.PHONY: build clean binary-indep binary-arch binary install
56
Note: See TracBrowser for help on using the repository browser.