Hi,
Destdir installation of lilypond doesn't work using the DESTDIR variable.
Please see the attached patch to solve the problem. This patch is good for
both 1.6.10 and 1.7.20.
cheers,
Egmont
ps. I'm not on the list, please cc me in case of questions.
diff -urN lilypond-1.6.10.orig/stepmake/stepmake/documentation-targets.make
lilypond-1.6.10/stepmake/stepmake/documentation-targets.make
--- lilypond-1.6.10.orig/stepmake/stepmake/documentation-targets.make 2002-08-17
01:54:37.000000000 +0200
+++ lilypond-1.6.10/stepmake/stepmake/documentation-targets.make 2003-05-27
13:35:05.000000000 +0200
@@ -16,13 +16,13 @@
INFO_INSTALL_FILES = $(wildcard $(addsuffix *, $(INFO_FILES)))
# should we call install-info?
-INFOINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(infodir) depth=$(depth)
INSTALLATION_OUT_FILES="$(INFO_INSTALL_FILES)" -f $(stepdir)/install-out.sub.make
+INFOINSTALL=$(MAKE) INSTALLATION_OUT_DIR=$(DESTDIR)$(infodir) depth=$(depth)
INSTALLATION_OUT_FILES="$(INFO_INSTALL_FILES)" -f $(stepdir)/install-out.sub.make
local-install: install-info
local-uninstall: uninstall-info
install-info: $(INFO_FILES)
- -$(INSTALL) -d $(infodir)
+ -$(INSTALL) -d $(DESTDIR)$(infodir)
$(INFOINSTALL) local-install
uninstall-info:
diff -urN lilypond-1.6.10.orig/stepmake/stepmake/help2man-targets.make
lilypond-1.6.10/stepmake/stepmake/help2man-targets.make
--- lilypond-1.6.10.orig/stepmake/stepmake/help2man-targets.make 2001-03-08
00:41:15.000000000 +0100
+++ lilypond-1.6.10/stepmake/stepmake/help2man-targets.make 2003-05-27
13:14:58.000000000 +0200
@@ -3,9 +3,9 @@
local-install: install-help2man
install-help2man: man
- -$(INSTALL) -d $(mandir)/man1
+ -$(INSTALL) -d $(DESTDIR)$(mandir)/man1
$(foreach a, $(HELP2MAN_GROFFS), \
- $(INSTALL) -m 644 $(a) $(mandir)/man1 && ) true
+ $(INSTALL) -m 644 $(a) $(DESTDIR)$(mandir)/man1 && ) true
man: $(HELP2MAN_GROFFS)
_______________________________________________
Bug-lilypond mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-lilypond