blob: 81ae5aef4d3f3a4b8878bf24075aadb1c3f5cac6 (
plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
From d6825726fb702d759a294085f39affb349205854 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto@cante.net>
Date: Mon, 11 Oct 2010 23:07:42 +0300
Subject: [PATCH] Respect $(DESTDIR) by Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
Makefile.in | 4 ++--
configure | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 6f1f45a..f9c3da2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -57,8 +57,8 @@ distclean: clean
-rm Makefile
install: all
- mkdir -p $(DESTDIR)$(bindir)
- cp fondu ufond showfond dfont2res tobin frombin lumper setfondname $(DESTDIR)$(bindir)
+ install -m 755 -d $(DESTDIR)$(bindir)
+ install -m 755 fondu ufond showfond dfont2res tobin frombin lumper setfondname $(DESTDIR)$(bindir)
VERSION:=$(shell date +"%y%d%m")
diff --git a/configure b/configure
index 1bdfe38..890a77b 100755
--- a/configure
+++ b/configure
@@ -251,7 +251,7 @@ exec 6>&1
#
# Initializations.
#
-ac_default_prefix=/usr/local
+ac_default_prefix=$(DESTDIR)
ac_config_libobj_dir=.
cross_compiling=no
subdirs=
--
1.7.1
|