~whosdaz/wajig/docfix

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Graham Williams, Tshepang Lekhonkhobe
  • Date: 2010-09-15 17:22:16 UTC
  • Revision ID: james.westby@ubuntu.com-20100915172216-6kv2lnbfnnw11lxo
Tags: 2.0.49
[ Tshepang Lekhonkhobe ]

* UPGRADE: Don't automatically do an "apt-get update" with the backup
  option; the behaviour is not standard, and is not so-damn-fast.

* UPGRADE: Add command line argument for --backup to specify target
  directory.  * Used to be "wajig --backup upgrade BKDIR".  * Now it's
  "wajig --backup=BKDIR upgrade".

* UPGRADE: Proceed to upgrade after using -b|--backup option.

* UPGRADE: Remove the option to install listed packages. This helps
  reduce code complexity.

* CHANGELOG: Now only displays uninstalled entries by default. This
  makes the hacky NEWS command redundant, which is therefore
  removed. (Closes: #424668).

* CHANGELOG: Add -v|--verbose=1 option to display the whole thing. This
  was the default option, but suggestion offered in #424668 is more
  sane.

* CHANGELOG: Add -x|--pager option to allow scrolling. This also implies
  -v|--verbose=1 (see above).

* DIST-UPGRADE: Add -b|--backup=BKDIR option to allow backing up of
  packages before dist-upgrade.

* BUILD: Now uses sudo instead of fakeroot to avoid permission-related.
  build failures for some packages (EG, fakeroot & cdbs). (Closes:
  #464003).

* Fix a parsing bug where "wajig changelog libgtk2.0-0" didn't work.

* Switch to dpkg-source 3.0 (native) format

* RBUILDDEPS: New option allowing one to determine which packages
  build-depends on a particular package. The long form command is
  "reverse-build-depends", else just use "wajig rbuilddeps pkgname".
  (Closes: #335240).

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        $(MAKE) install DESTDIR=$(CURDIR)/debian/wajig 
47
47
        # remove the installation-generated files, will be rebuilt in postinst
48
48
        rm -vf $(CURDIR)/debian/wajig/usr/share/wajig/*.py[oc]
49
 
        # 2.0.4 fixes
50
 
#       rm -vf $(CURDIR)/debian/wajig/usr/share/wajig/*.png
51
 
#       cp -vax src/pixmaps/* $(CURDIR)/debian/wajig/usr/share/wajig
52
49
        # 2.0.9 fixes: need to install bash_completion manually
53
50
        cp -vax wajig.completion \
54
51
                $(CURDIR)/debian/wajig/etc/bash_completion.d/wajig
55
 
        # 2.0.11 fix: mode wants to be 755 on #! files
56
 
        chmod 755 $(CURDIR)/debian/wajig/usr/share/wajig/bash_completion.py
57
 
 
58
 
        # From the patch by Martin Krafft, but re-disabled as per discussion
59
 
        # with Mathias Klose, see #276537 logs
60
 
  # fix for FHS and Python policy compliance
61
 
        #mv $(CURDIR)/debian/wajig/usr/share/wajig/*.py $(CURDIR)/debian/wajig/usr/lib/wajig
62
52
 
63
53
# Build architecture-independent files here.
64
54
binary-indep: build install
82
72
        dh_link
83
73
        dh_strip 
84
74
        dh_compress
 
75
#       dh_python
 
76
        dh_pysupport
85
77
        dh_fixperms 
86
 
#       dh_python               /usr/share/wajig
87
 
#       dh_python
88
 
        dh_pycentral
89
78
#       dh_perl
90
79
        dh_installdeb
91
80
        dh_gencontrol