source: trunk/src/testing/etc/ubuntu/debian.rules @ 4

Revision 4, 1.9 KB checked in by ajaworski, 13 years ago (diff)

Added modified SAGE sources

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
11
12
13# This is the debhelper compatibility version to use.
14export DH_COMPAT=4
15
16
17
18configure: configure-stamp
19configure-stamp:
20        dh_testdir
21        # Add here commands to configure the package.
22
23        touch configure-stamp
24
25
26build: build-stamp
27
28build-stamp: configure-stamp
29        dh_testdir
30
31        # Add here commands to compile the package.
32        $(MAKE)
33        #docbook-to-man debian/sage-graphics.sgml > sage-graphics.1
34
35        touch $@
36
37clean:
38        dh_testdir
39        dh_testroot
40        rm -f build-stamp configure-stamp
41
42        # Add here commands to clean up after the build process.
43        -$(MAKE) clean
44
45        dh_clean
46
47install: build
48        dh_testdir
49        dh_testroot
50        dh_clean -k
51        dh_installdirs
52
53        # Add here commands to install the package into debian/sage-graphics.
54        $(MAKE) install PREFIX=/usr/src/packages/BUILD/debian/sage-graphics install
55
56
57# Build architecture-independent files here.
58binary-indep: build install
59# We have nothing to do by default.
60
61# Build architecture-dependent files here.
62binary-arch: build install
63        dh_testdir
64        dh_testroot
65#       dh_installdebconf
66        dh_installdocs
67        dh_installexamples
68        dh_installmenu
69#       dh_installlogrotate
70#       dh_installemacsen
71#       dh_installpam
72#       dh_installmime
73#       dh_installinit
74        dh_installcron
75        dh_installman
76        dh_installinfo
77#       dh_undocumented
78        dh_installchangelogs
79        dh_link
80        dh_strip
81        dh_compress
82        dh_fixperms
83#       dh_makeshlibs
84        dh_installdeb
85#       dh_perl
86        dh_shlibdeps
87        dh_gencontrol
88        dh_md5sums
89        dh_builddeb
90
91binary: binary-indep binary-arch
92.PHONY: build clean binary-indep binary-arch binary install configure
Note: See TracBrowser for help on using the repository browser.