~ubuntu-branches/ubuntu/vivid/cl-csv/vivid-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Dimitri Fontaine
  • Date: 2014-08-04 19:57:54 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140804195754-vo64b5r1daxwg8ld
Tags: 20140211-1
Quicklisp release update.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
pkg     := csv
4
 
debpkg  := cl-csv
5
 
 
6
 
 
7
 
clc-source      := usr/share/common-lisp/source
8
 
clc-systems     := usr/share/common-lisp/systems
9
 
clc-csv         := $(clc-source)/$(pkg)
10
 
 
11
 
doc-dir         := usr/share/doc/$(debpkg)
12
 
 
13
 
 
14
 
configure: configure-stamp
15
 
configure-stamp:
16
 
        dh_testdir
17
 
        # Add here commands to configure the package.
18
 
        touch configure-stamp
19
 
 
20
 
 
21
 
build: build-stamp
22
 
 
23
 
build-stamp: configure-stamp 
24
 
        dh_testdir
25
 
        # Add here commands to compile the package.
26
 
        touch build-stamp
27
 
 
28
 
clean:
29
 
        dh_testdir
30
 
        dh_testroot
31
 
        rm -f build-stamp configure-stamp
32
 
        # Add here commands to clean up after the build process.
33
 
        rm -f debian/cl-csv.postinst.* debian/cl-csv.prerm.*
34
 
        dh_clean
35
 
 
36
 
install: build
37
 
        dh_testdir
38
 
        dh_testroot
39
 
        dh_clean -k
40
 
 
41
 
        # Add here commands to install the package into debian/csv.
42
 
        dh_installdirs $(clc-systems) $(clc-csv) $(doc-dir)
43
 
        dh_install *.asd $(shell echo *.lisp) $(clc-csv)
44
 
        dh_link $(clc-csv)/csv.asd $(clc-systems)/csv.asd
45
 
 
46
 
# Build architecture-dependent files here.
47
 
binary-arch: build install
48
 
 
49
 
 
50
 
# Build architecture-independent files here.
51
 
binary-indep: build install
52
 
        dh_testdir
53
 
        dh_testroot
54
 
#       dh_installdebconf       
55
 
        dh_installdocs 
56
 
#       dh_installmenu
57
 
#       dh_installlogrotate
58
 
#       dh_installemacsen
59
 
#       dh_installpam
60
 
#       dh_installmime
61
 
#       dh_installinit
62
 
#       dh_installcron
63
 
#       dh_installman
64
 
#       dh_installinfo
65
 
#       dh_undocumented
66
 
        dh_installchangelogs
67
 
        dh_strip
68
 
        dh_compress
69
 
        dh_fixperms
70
 
#       dh_makeshlibs
71
 
        dh_installdeb
72
 
#       dh_perl
73
 
        dh_shlibdeps
74
 
        dh_gencontrol
75
 
        dh_md5sums
76
 
        dh_builddeb
77
 
 
78
 
binary: binary-indep binary-arch
79
 
.PHONY: build clean binary-indep binary-arch binary install configure
80
 
 
 
3
%:
 
4
        dh $@