missing DESTDIR

This commit is contained in:
sturm 2004-01-09 21:10:34 +00:00
parent 7e83307cd5
commit 08f90bdd4b

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Imakefile,v 1.1 2000/11/01 16:25:30 espie Exp $ $OpenBSD: patch-Imakefile,v 1.2 2004/01/09 21:10:34 sturm Exp $
--- Imakefile.orig Fri Dec 22 13:05:52 1995 --- Imakefile.orig 1995-12-22 13:05:52.000000000 +0100
+++ Imakefile Wed Nov 1 17:11:54 2000 +++ Imakefile 2004-01-09 22:05:46.000000000 +0100
@@ -122,7 +122,7 @@ FONT = thefont @@ -122,7 +122,7 @@ FONT = thefont
#ifndef InstallDefaultGardens #ifndef InstallDefaultGardens
@ -23,6 +23,28 @@ $OpenBSD: patch-Imakefile,v 1.1 2000/11/01 16:25:30 espie Exp $
#endif /* transputerbuild */ #endif /* transputerbuild */
@@ -345,16 +345,16 @@ Xmris.ad : Xmris-ad.src
XCOMM score directory install
install ::
- MakeDir($(SCORE))
+ MakeDir($(DESTDIR)$(SCORE))
@#not all $(INSTALL) have a -d flag, have to do it explicitly
- @echo installing $(INSTSCOREFLAGS) $(SCORE)
+ @echo installing $(INSTSCOREFLAGS) $(DESTDIR)$(SCORE)
@set -- $(INSTSCOREFLAGS) ; \
while [ $$# -ne 0 ] ; \
do \
case "$$1" in \
- "-o") shift ; chown $$1 $(SCORE) ; echo owner is $$1 ;; \
- "-m") shift ; chmod $$1 $(SCORE) ;; \
- "-g") shift ; chgrp $$1 $(SCORE) ; echo group is $$1 ;; \
+ "-o") shift ; chown $$1 $(DESTDIR)$(SCORE) ; echo owner is $$1 ;; \
+ "-m") shift ; chmod $$1 $(DESTDIR)$(SCORE) ;; \
+ "-g") shift ; chgrp $$1 $(DESTDIR)$(SCORE) ; echo group is $$1 ;; \
*) echo unknown option '$$1' ;; \
esac ; \
shift ; \
@@ -363,11 +363,11 @@ install :: @@ -363,11 +363,11 @@ install ::
#ifdef InstallDefaultGardens #ifdef InstallDefaultGardens
XCOMM install default gardens XCOMM install default gardens