File: 90_destdir.dpatch

package info (click to toggle)
eboard-extras-pack1 2-2
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 528 kB
  • sloc: sh: 176; makefile: 75
file content (17 lines) | stat: -rw-r--r-- 590 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh /usr/share/dpatch/dpatch-run
## 90_destdir.dpatch by Patrik Fimml <patrik@fimml.at>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Respect DESTDIR

@DPATCH@
diff -urNad eboard-extras-pack1-2~/Makefile.in eboard-extras-pack1-2/Makefile.in
--- eboard-extras-pack1-2~/Makefile.in	2008-05-27 22:16:18.000000000 +0200
+++ eboard-extras-pack1-2/Makefile.in	2008-05-27 22:16:19.000000000 +0200
@@ -1,5 +1,5 @@
 
-DATADIR = @DATADIR@
+DATADIR = $(DESTDIR)@DATADIR@
 INSTALL = @INSTALL@
 
 DATAFILES = Alpha.png Diagram.png Kingdom.png Slics.png WCN.png \