~ubuntu-branches/debian/sid/v4l-utils/sid

« back to all changes in this revision

Viewing changes to debian/patches/install-to-destdir.diff

  • Committer: Bazaar Package Importer
  • Author(s): Gregor Jasny, Gregor Jasny, Martin Pitt
  • Date: 2010-12-12 17:10:48 UTC
  • Revision ID: james.westby@ubuntu.com-20101212171048-dd1vd42az31thrw5
Tags: 0.8.1-2
[ Gregor Jasny ]
* Add ir-keytable; install them into /lib/udev/rc_keymaps (Closes: #601279)
* Cherry-picked new device table entries from upstream git

[ Martin Pitt ]
* debian/control: Add DM-Upload-Allowed flag, so that Gregor can upload by
  himself once he becomes an official DM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: Gregor Jasny <gjasny@googlemail.com>
 
2
Description: Install config files to $(DESTDIR)
 
3
 
 
4
--- a/utils/keytable/Makefile
 
5
+++ b/utils/keytable/Makefile
 
6
@@ -51,10 +51,10 @@
 
7
        @for i in `echo $(IR_FILES)`; do echo $$i;./gen_keytables.pl $(KERNEL_DIR)/$$i; done
 
8
 
 
9
 install: $(TARGETS)
 
10
-       mkdir -p $(DESTDIR)$(PREFIX)/bin
 
11
+       mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)/etc
 
12
        install -m 755 $(TARGETS) $(DESTDIR)$(PREFIX)/bin
 
13
-       install -m 644 rc_maps.cfg.example /etc
 
14
-       install -m 755 -d /etc/rc_keymaps
 
15
-       install -m 644 rc_keymaps/* /etc/rc_keymaps
 
16
+       install -m 644 rc_maps.cfg.example $(DESTDIR)/etc
 
17
+       install -m 755 -d $(DESTDIR)/etc/rc_keymaps
 
18
+       install -m 644 rc_keymaps/* $(DESTDIR)/etc/rc_keymaps
 
19
 
 
20
 include ../../Make.rules