~ubuntu-branches/ubuntu/precise/xdm/precise

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2008-10-05 20:55:43 UTC
  • mfrom: (7.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081005205543-t9lgih96kbj1eidd
Tags: 1:1.1.8-5
Updated Polish debconf translation, thanks to Łukasz Paździora
(closes: #499073).

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
        --with-pixmapdir=/usr/share/X11/xdm/pixmaps \
22
22
        --with-color-pixmap=debian.xpm \
23
23
        --with-bw-pixmap=debianbw.xpm \
24
 
        --disable-dynamic-greeter
 
24
        --disable-dynamic-greeter \
 
25
        --disable-xdm-auth \
 
26
        --with-xft
25
27
 
26
28
CFLAGS = -Wall -g
27
29
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
51
53
build: $(STAMP_DIR)/build
52
54
$(STAMP_DIR)/build: $(STAMP_DIR)/prepare $(STAMP_DIR)/patch
53
55
        dh_testdir
54
 
        mkdir $(BUILD_DIR)
 
56
        [ -d $(BUILD_DIR) ] || mkdir $(BUILD_DIR)
55
57
        cd $(BUILD_DIR) && \
56
58
        ../configure --prefix=/usr \
57
59
                    --mandir=\$${prefix}/share/man \
58
60
                    --infodir=\$${prefix}/share/info \
59
61
                    $(confflags) \
60
62
                    CFLAGS="$(CFLAGS)" APP_MAN_SUFFIX=1
61
 
 
62
63
        cd $(BUILD_DIR) && $(MAKE)
63
 
 
64
64
        >$@
65
65
 
66
66
stampdir_targets+=install
89
89
                       $(CURDIR)/debian/tmp/usr/share/X11/xdm/pixmaps/
90
90
        install -m 644 debian/local/debianbw.xpm \
91
91
                       $(CURDIR)/debian/tmp/usr/share/X11/xdm/pixmaps/
92
 
        install -d $(CURDIR)/debian/tmp/usr/share/lintian/overrides
93
 
        install -m 644  debian/xdm.overrides \
94
 
                       $(CURDIR)/debian/tmp/usr/share/lintian/overrides/xdm
 
92
        >$@
95
93
 
96
94
clean: xsfclean
97
95
        dh_testdir
106
104
 
107
105
        dh_installdocs
108
106
        dh_install --sourcedir=debian/tmp --list-missing
109
 
        dh_installchangelogs
 
107
        dh_installchangelogs ChangeLog
110
108
        dh_installinit --noscripts
111
109
        dh_installdebconf
112
110
        dh_installlogrotate
127
125
 
128
126
binary: binary-indep binary-arch
129
127
 
130
 
,PHONY: build install clean binary binary-indep binary-arch
 
128
.PHONY: build install clean binary binary-indep binary-arch