~ubuntu-branches/ubuntu/raring/cccc/raring

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2003-08-23 04:34:05 UTC
  • Revision ID: james.westby@ubuntu.com-20030823043405-6y562hurtj1ovqcf
Tags: 3.pre81-2
* Ignore errors from prn14 test for now, following upstream's advice
  (downgrades #202797 to normal).
* Use 'diff -u' in tests to get more context.
* Remove test/*.xml in 'debian/rules clean'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /usr/bin/make -f
 
2
 
 
3
export DH_COMPAT=2
 
4
 
 
5
tmp = $(CURDIR)/debian/cccc
 
6
 
 
7
build: build-stamp
 
8
build-stamp:
 
9
        dh_testdir
 
10
        cd cccc && $(MAKE) -f posixgcc.mak DEBUG=true \
 
11
                        PCCTS_H=/usr/include/pccts PCCTS_BIN=/usr/bin
 
12
        cd test && $(MAKE) -f posix.mak
 
13
 
 
14
clean:
 
15
        dh_testdir
 
16
        cd cccc && $(MAKE) -f posixgcc.mak clean
 
17
        rm -f test/*.db test/*.html test/*.xml test/.cccc/cccc.opt
 
18
        -rmdir test/.cccc
 
19
        dh_clean
 
20
 
 
21
binary-arch: install
 
22
        dh_testdir
 
23
        dh_testroot
 
24
        dh_clean -k
 
25
        dh_installdirs usr/bin usr/share/lintian/overrides
 
26
        install -m755 cccc/cccc $(tmp)/usr/bin
 
27
        install -m644 debian/cccc.lintian \
 
28
                      $(tmp)/usr/share/lintian/overrides/cccc
 
29
        dh_installdocs readme.txt 'cccc/CCCC User Guide.html'
 
30
        dh_installman debian/cccc.1
 
31
        dh_installchangelogs changes.txt
 
32
        dh_strip
 
33
        dh_compress
 
34
        dh_fixperms
 
35
        dh_installdeb
 
36
        dh_shlibdeps
 
37
        dh_gencontrol
 
38
        dh_md5sums
 
39
        dh_builddeb
 
40
 
 
41
binary-indep:
 
42
 
 
43
binary: binary-arch binary-indep
 
44
 
 
45
.PHONY: build clean binary-arch binary-indep binary