~ubuntu-branches/ubuntu/hardy/tclex/hardy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Matej Vela
  • Date: 2007-04-20 19:32:23 UTC
  • Revision ID: james.westby@ubuntu.com-20070420193223-zqhhdty5ex7gjcnf
Tags: 1.2a1-11
* QA upload.
* Port to Tcl 8.4.  Closes: #420183.
  - src/tcLex.c: Use Command->flags instead of Command->deleted.
  - src/tcLex.c: Conform more closely to the Tcl_GetIndexFromObj(3tcl)
    prototype.
* Remove unnecessary dependency on Tk.
* debian/rules: Install changes.txt as the upstream changelog.
* debian/changelog: Add colon after `closes' to placate Lintian.
* debian/copyright: Update upstream URL.
* debian/watch: Add.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
        -$(MAKE) -C src distclean
19
19
        -rm -f src/*.so
20
20
        -rm -f `find . -name "*~"`
21
 
        -rm -rf debian/tmp debian/files* core debian/substvars
 
21
        -rm -rf debian/tclex debian/files* core debian/substvars
22
22
        dh_clean
23
23
 
24
24
install: build
35
35
binary-arch: build install
36
36
        dh_testdir
37
37
        dh_testroot
38
 
        dh_installchangelogs
39
 
        dh_installdocs README.txt changes.txt 
 
38
        dh_installchangelogs changes.txt
 
39
        dh_installdocs README.txt
40
40
        dh_installexamples
41
 
        $(MAKE) -C src install TCL_PREFIX=../debian/tmp/usr
 
41
        $(MAKE) -C src install TCL_PREFIX=../debian/tclex/usr
42
42
# be an irritating wise-a** and change .htm in .html where possible
43
43
        for a in `cd doc/en; ls *.htm`; do \
44
 
          cat doc/en/$$a | perl -pe 's/("\w+)\.htm\b/\1.html/g' > debian/tmp/usr/share/doc/$(package)/html/$${a}l; \
 
44
          cat doc/en/$$a | perl -pe 's/("\w+)\.htm\b/\1.html/g' > debian/tclex/usr/share/doc/$(package)/html/$${a}l; \
45
45
        done
46
46
        dh_installman
47
47
        dh_link
54
54
        dh_gencontrol
55
55
        dh_md5sums
56
56
        dh_builddeb
57
 
#       dpkg --build debian/tmp ..
 
57
#       dpkg --build debian/tclex ..
58
58
 
59
59
binary: binary-indep binary-arch
60
60