~ubuntu-branches/ubuntu/feisty/wmmoonclock/feisty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Martin A. Godisch
  • Date: 2007-04-01 19:30:02 UTC
  • Revision ID: james.westby@ubuntu.com-20070401193002-81eb383cvynu2fli
Tags: 1.27-22
Fixed postrm, closes: #417144.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
clean:
18
18
        $(testdir)
19
19
        -rm -f build debian/files debian/substvars
20
 
        debconf-updatepo
21
20
        -$(MAKE) -C Src clean
22
21
        -rm -rf debian/wmmoonclock
23
22
 
43
42
        ln -s wmMoonClock      $(BUILDDIR)/usr/bin/wmmoonclock
44
43
        ln -s wmMoonClock.1.gz $(BUILDDIR)/usr/share/man/man1/wmmoonclock.1.gz
45
44
        install -D -p -m 0644 debian/menu $(BUILDDIR)/usr/share/menu/wmmoonclock
46
 
        install -d -p -m 0755 $(BUILDDIR)/etc/menu
47
45
 
48
46
        install -D -p -m 0644 debian/changelog          $(DOCDIR)/changelog.Debian
49
47
        install -D -p -m 0644 debian/changelog.upstream $(DOCDIR)/changelog
50
 
        install    -p -m 0644 debian/copyright          $(DOCDIR)
 
48
        install    -p -m 0644 debian/copyright debian/README.Debian $(DOCDIR)
51
49
        gzip -9 $(DOCDIR)/changelog*
52
50
 
53
51
        install -d -p -m 0755 $(DEBDIR)
54
52
        install    -p -m 0644 debian/control $(DEBDIR)
55
 
        install    -p -m 0755 debian/config debian/postinst debian/postrm $(DEBDIR)
 
53
        install    -p -m 0755 debian/postinst debian/postrm $(DEBDIR)
56
54
        cd $(BUILDDIR) && find usr -type f -print0 | xargs -0 md5sum > DEBIAN/md5sums
57
 
        po2debconf debian/templates > $(DEBDIR)/templates
58
 
        chmod 0644 $(DEBDIR)/md5sums $(DEBDIR)/templates
 
55
        chmod 0644 $(DEBDIR)/md5sums
59
56
 
60
57
        dpkg-shlibdeps $(BUILDDIR)/usr/bin/wmMoonClock
61
58
        dpkg-gencontrol -isp -pwmmoonclock -P$(BUILDDIR)