~raof/gnome-session/fix-bug-623700

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: chrisccoulson at googlemail
  • Date: 2009-03-03 20:30:59 UTC
  • Revision ID: chrisccoulson@googlemail.com-20090303203059-hyfc1qt1wccyqsf3
Initial gnome-session import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
include /usr/share/cdbs/1/rules/debhelper.mk
 
4
include /usr/share/cdbs/1/class/gnome.mk
 
5
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
6
include /usr/share/cdbs/1/rules/utils.mk
 
7
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 
8
include /usr/share/gnome-pkg-tools/1/rules/gnome-version.mk
 
9
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
 
10
 
 
11
DEB_CONFIGURE_EXTRA_FLAGS += --localstatedir=/var/lib \
 
12
        --with-window-manager=metacity \
 
13
        --enable-ipv6 \
 
14
        --with-at-spi-registryd-directory=/usr/lib/at-spi
 
15
 
 
16
LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
 
17
 
 
18
%: %.uue
 
19
        uudecode -o '$@' '$<'
 
20
 
 
21
SPLASH := debian/gnome-debian-splash.png
 
22
 
 
23
common-build-arch:: $(SPLASH)
 
24
 
 
25
clean::
 
26
        rm -vf $(SPLASH)
 
27
 
 
28
clean::
 
29
        rm -vf \
 
30
                gnome-session/default.session \
 
31
                gnome-session/default.wm \
 
32
                gnome-session/session-properties.desktop \
 
33
                gnome-session/gnome-session.schemas
 
34
 
 
35
binary-post-install/gnome-session::
 
36
        # fix bogus ${prefix} in manpages
 
37
        cd debian/gnome-session/usr/share/man/ && \
 
38
                sed \
 
39
                        -i \
 
40
                        's#\$${prefix}#/usr#g' \
 
41
                        man5/default.session.5 \
 
42
                        man1/gnome-session.1
 
43