File: fix-install-path.patch

package info (click to toggle)
dvi2dvi 2.0alpha-13
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 928 kB
  • sloc: ansic: 6,645; makefile: 96; sh: 8
file content (26 lines) | stat: -rw-r--r-- 663 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Subject: Fix install path, use $(DESTDIR)
Author: Masayuki Hatta <mhatta@debian.org>
Date: 2001-07-06

--- a/Makefile
+++ b/Makefile
@@ -2,12 +2,12 @@
 # your site:
 #
 # BINAREA and DVI2LIB are relative to PREFIX
-PREFIX=/usr/local
+PREFIX=$(DESTDIR)/usr
 # where dvi2dvi is installed
 BINAREA=${PREFIX}/bin
 #
 # directory for dvi2dvi: where the auxiliary files are installed
-DVI2LIB=${PREFIX}/lib/dvi2dvi
+DVI2LIB=$(DESTDIR)/etc/texmf/dvi2dvi
 #
 # name of default fontdesc file in your site
 FONTDESC=fontdesc
--- a/lib-dist/configk
+++ b/lib-dist/configk
@@ -1 +1 @@
-define	tmf	/usr/local/share/{texmf.local,texmf}/fonts
+define	tmf	/usr/share/texmf/fonts