~ubuntu-branches/ubuntu/utopic/joystick/utopic-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Kitt
  • Date: 2009-07-21 10:12:59 UTC
  • mfrom: (5.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090721101259-7fc9g5elqx0pie5q
Tags: 20051019-8
Avoid failing with an exit code of 1 in the initscript; thanks Sean
Finney! Closes: #537804

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
DEB_SRCDIR = $(CURDIR)/utils
4
 
DEB_QUILT_TOPDIR = .
5
 
 
6
 
include /usr/share/cdbs/1/rules/debhelper.mk
7
 
include /usr/share/cdbs/1/class/makefile.mk
8
 
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
9
 
 
10
 
DEB_MAKE_BUILD_TARGET = jstest jscal inputattach evtest
 
3
DEB_MAKE_BUILD_TARGET = jstest jscal inputattach evtest ffcfstress ffmvforce ffset fftest
 
4
 
 
5
include /usr/share/quilt/quilt.make
 
6
 
 
7
build: $(QUILT_STAMPFN) build-stamp
 
8
build-stamp:
 
9
        dh build
 
10
        touch $@
 
11
 
 
12
%:
 
13
        dh $@
 
14
 
 
15
clean: clean-patched unpatch
 
16
clean-patched:
 
17
        make -C utils clean
 
18
        dh clean
 
19
        rm -f build-stamp
 
20
 
 
21
override_dh_auto_build:
 
22
        make -C utils $(DEB_MAKE_BUILD_TARGET)
 
23
 
 
24
# Recover from broken initscript in -7
 
25
override_dh_installinit:
 
26
        dh_installinit --error-handler=true
 
27
 
 
28
.PHONY: patch unpatch clean clean-patched build override_dh_auto_build