~ubuntu-branches/ubuntu/saucy/recode/saucy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2009-11-04 12:36:08 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20091104123608-va4bc9uprw5ihdur
Tags: 3.6-17
* Do not ignore errors from make distclean.
* Changed debian/* files again for new texi2html behaviour. Closes: #552972.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
clean:
42
42
        rm -f build
43
43
        rm -f i18n/*.mo
44
 
        -$(MAKE) distclean
 
44
        [ ! -f Makefile ] || $(MAKE) distclean
45
45
        rm -f `find . -name "*~"`
46
46
        rm -rf debian/tmp debian/files* core debian/substvars
47
47
        cd debian && rm -rf recode librecode0 librecode-dev recode-doc
60
60
        install -d debian/$@/usr/share/doc-base
61
61
        install -m 644 debian/$@.doc-base debian/$@/usr/share/doc-base/$@
62
62
        cd doc && texi2html -split_chapter $(package).texi
63
 
        mv doc/$(package)/*.html debian/$@/usr/share/doc/$@
64
 
        rm -rf doc/$(package)
 
63
        mv doc/*.html debian/$@/usr/share/doc/$@
65
64
        ln -s $(package)_toc.html debian/$@/usr/share/doc/$@/index.html
66
65
        cp -p debian/copyright debian/$@/usr/share/doc/$@
67
66
        cp -p ChangeLog debian/$@/usr/share/doc/$@/changelog