add DESTDIR to private install target

ok naddy@
This commit is contained in:
sturm 2003-08-29 21:58:58 +00:00
parent c373a0965c
commit 9d0da021c9

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-data_Makefile_in,v 1.3 2002/09/29 16:10:09 naddy Exp $
--- data/Makefile.in.orig Wed Jul 25 04:17:39 2001
+++ data/Makefile.in Sun Sep 29 18:08:05 2002
$OpenBSD: patch-data_Makefile_in,v 1.4 2003/08/29 21:58:58 sturm Exp $
--- data/Makefile.in.orig 2002-10-02 08:26:47.000000000 +0200
+++ data/Makefile.in 2003-08-29 21:32:57.000000000 +0200
@@ -68,7 +68,7 @@ TK_HEADER = @TK_HEADER@
VERSION = @VERSION@
WISH = @WISH@
@ -10,3 +10,16 @@ $OpenBSD: patch-data_Makefile_in,v 1.3 2002/09/29 16:10:09 naddy Exp $
pkgdata_DATA = $(pkgdata_DATA_noGENERATED) VERSION quedit fontsel
@@ -206,9 +206,9 @@ maintainer-clean
install-exec-local:
- rm -rf $(pkgdatadir)
- $(mkinstalldirs) $(pkgdatadir)/themes
- $(mkinstalldirs) $(pkgdatadir)/common
+ rm -rf $(DESTDIR)$(pkgdatadir)
+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/themes
+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/common
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.