~xubuntu-dev/xfce4-session/grumpy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: corsac
  • Date: 2009-02-27 01:13:49 UTC
  • mto: This revision was merged to the branch mainline in revision 114.
  • Revision ID: svn-v4:0c9b3bff-18ee-0310-b944-d1aa2700132f:desktop/trunk/xfce4-session:2781
merge back xfce 4.6 from svn-snapshots

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
 
59
59
        # Add here commands to clean up after the build process.
60
60
        [ ! -f Makefile ] || $(MAKE) distclean
61
 
#ifneq "$(wildcard /usr/share/misc/config.sub)" ""
62
 
#       cp -f /usr/share/misc/config.sub config.sub
63
 
#endif
64
 
#ifneq "$(wildcard /usr/share/misc/config.guess)" ""
65
 
#       cp -f /usr/share/misc/config.guess config.guess
66
 
#endif
67
 
 
68
61
 
69
62
        dh_clean 
70
63
 
73
66
        dh_testroot
74
67
        dh_clean -k 
75
68
        dh_installdirs
 
69
        dh_lintian
76
70
 
77
71
        # Add here commands to install the package into debian/xfce4-session.
78
72
        $(MAKE) install DESTDIR=$(CURDIR)/debian/xfce4-session
79
 
        install -p -o root -g root -m 644 debian/lintian $(CURDIR)/debian/xfce4-session/usr/share/lintian/overrides/xfce4-session
80
 
        rm -f $(CURDIR)/debian/xfce4-session/usr/lib/xfce4/mcs-plugins/*.la
81
 
        rm -f $(CURDIR)/debian/xfce4-session/usr/lib/xfce4/mcs-plugins/*.a
82
73
        rm -f $(CURDIR)/debian/xfce4-session/usr/lib/xfce4/splash/engines/*.la
83
74
        rm -f $(CURDIR)/debian/xfce4-session/usr/lib/*.la
84
75
 
85
 
        #Don't ship systemwide defaults as they will override desktop-base
86
 
        #settings. We'll need something cleaner for post-etch.
87
 
        #rm -f $(CURDIR)/debian/xfce4-session/etc/xdg/xfce4-session/xfce4-session.rc
88
 
 
89
76
        chrpath -d -k `pwd`/debian/xfce4-session/usr/bin/* \
90
77
                `pwd`/debian/xfce4-session/usr/sbin/xfsm-shutdown-helper \
91
 
                `pwd`/debian/xfce4-session/usr/lib/xfce4/*/*so \
92
78
                `pwd`/debian/xfce4-session/usr/lib/xfce4/splash/engines/*so
93
79
        
94
80
        cat debian/debian-tips >> `pwd`/debian/xfce4-session/usr/share/xfce4/tips/tips
95
81
        strfile `pwd`/debian/xfce4-session/usr/share/xfce4/tips/tips \
96
82
                `pwd`/debian/xfce4-session/usr/share/xfce4/tips/tips.dat
97
83
 
 
84
        # Ship an xfconf config file selecting the simple engine for desktop-base
 
85
        # install -D -p -o root -g root -m 644 debian/xfce4-session.xml $(CURDIR)/debian/xfce4-session/usr/share/desktop-base/profiles/xdg-config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
 
86
  
 
87
 
98
88
# Build architecture-independent files here.
99
89
binary-indep: build install
100
90
# We have nothing to do by default.
110
100
        dh_strip
111
101
        dh_compress
112
102
        dh_fixperms
 
103
        dh_makeshlibs
113
104
        dh_installdeb
114
 
        dh_makeshlibs
115
105
        dh_shlibdeps -l`pwd`/debian/xfce4-session/usr/lib
116
106
        dh_gencontrol
117
107
        dh_md5sums