~ubuntu-branches/ubuntu/trusty/xserver-xorg-video-siliconmotion/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois, Julien Cristau, Cyril Brulebois
  • Date: 2010-05-04 00:19:15 UTC
  • Revision ID: james.westby@ubuntu.com-20100504001915-ssoj3xnv5xl2azwm
Tags: 1:1.7.3-2
[ Julien Cristau ]
* Rename the build directory to not include DEB_BUILD_GNU_TYPE for no
  good reason.  Thanks, Colin Watson!
* Remove myself from Uploaders

[ Cyril Brulebois ]
* Update to new xsfbs, replace deprecated ${xserver:Depends} with
  ${xviddriver:Depends} in Depends, and bump B-D on xserver-xorg-dev
  accordingly.
* Add myself to Uploaders.
* Bump Standards-Version from 3.8.3 to 3.8.4 (no changes needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
configure: $(STAMP_DIR)/patch
36
36
        autoreconf -vfi
37
37
 
38
 
obj-$(DEB_BUILD_GNU_TYPE)/config.status: configure
39
 
        mkdir -p obj-$(DEB_BUILD_GNU_TYPE)
40
 
        cd obj-$(DEB_BUILD_GNU_TYPE) && \
 
38
build/config.status: configure
 
39
        mkdir -p build
 
40
        cd build && \
41
41
        ../configure --prefix=/usr --mandir=\$${prefix}/share/man \
42
42
                     --infodir=\$${prefix}/share/info $(confflags) \
43
43
                     CFLAGS="$(CFLAGS)" 
44
44
 
45
45
build: build-stamp
46
 
build-stamp: obj-$(DEB_BUILD_GNU_TYPE)/config.status
 
46
build-stamp: build/config.status
47
47
        dh_testdir
48
 
        cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE)
 
48
        cd build && $(MAKE)
49
49
        >$@
50
50
 
51
51
clean: xsfclean
57
57
        rm -f */config.cache */config.log */config.status
58
58
        rm -f conftest* */conftest*
59
59
        rm -rf autom4te.cache */autom4te.cache
60
 
        rm -rf obj-*
 
60
        rm -rf build
61
61
        rm -f $$(find -name Makefile.in)
62
62
        rm -f aclocal.m4 config.guess config.h.in config.sub configure
63
63
        rm -f depcomp install-sh ltmain.sh missing mkinstalldirs
70
70
        dh_clean -k
71
71
        dh_installdirs
72
72
 
73
 
        cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
 
73
        cd build && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
74
74
 
75
75
# Build architecture-dependent files here.
76
76
binary-arch: build install serverabi