~ubuntu-branches/ubuntu/hardy/pcmanfm/hardy-backports

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Lee
  • Date: 2007-08-23 02:02:38 UTC
  • Revision ID: james.westby@ubuntu.com-20070823020238-9fq8tz7j65wyhjow
Tags: 0.3.2.2-2
* Depends on desktop-file-utils(Closes:#416173)
* Use dh_desktop to register the .desktop file.
* New menu hierarchy

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
        rm -f build-stamp 
65
65
 
66
66
        # Add here commands to clean up after the build process.
67
 
        -$(MAKE) distclean
 
67
        [ ! -f Makefile ] || $(MAKE) distclean
68
68
#ifneq "$(wildcard /usr/share/misc/config.sub)" ""
69
69
#       cp -f /usr/share/misc/config.sub config.sub
70
70
#endif
85
85
        $(MAKE) -f debian/rules config-nohal
86
86
        $(MAKE)
87
87
        $(MAKE) install DESTDIR=$(CURDIR)/debian/pcmanfm-nohal
88
 
        install -m 644 -D $(CURDIR)/pcmanfm.desktop \
89
 
                $(CURDIR)/debian/pcmanfm-nohal/usr/share/applications/pcmanfm.desktop
90
88
ifeq (linux,$(DEB_HOST_ARCH_OS))
91
89
        $(MAKE) distclean
92
90
 
94
92
        $(MAKE) -f debian/rules config-hal
95
93
        $(MAKE)
96
94
        $(MAKE) install DESTDIR=$(CURDIR)/debian/pcmanfm
97
 
        install -m 644 -D $(CURDIR)/pcmanfm.desktop \
98
 
                $(CURDIR)/debian/pcmanfm/usr/share/applications/pcmanfm.desktop
99
95
endif
100
96
 
101
97
# Build architecture-independent files here.
116
112
#       dh_installemacsen
117
113
#       dh_installpam
118
114
#       dh_installmime
 
115
        dh_desktop -A pcmanfm.desktop
119
116
#       dh_installinit
120
117
#       dh_installcron
121
118
#       dh_installinfo