Hi!

I have received the following patch for the DVC installation process.

Shall I apply this patch?

Stefan.

--- Begin Message ---
Hallo Stefan,

ich habe gerade mal mein DVC auf deine aktuelle bzr Version
hochgezogen und anschließend ein paar Probleme mit der Systemweiten
Installation.

Dieser Patch funktioniert für mich: 
  M Makefile.in 
  M configure.ac 
  M dvc-load-install.el.in 
  M lisp/Makefile.in 
                                                                        

=== modified file 'Makefile.in'
--- Makefile.in	
+++ Makefile.in	
@@ -54,7 +54,7 @@
 dvc-maybe: generated-files
 	cd lisp; $(MAKE) maybe
 
-install: dvc-load.el
+install: dvc-load-install.el
 	@for i in $(SUBDIRS) ; do               \
           $(MAKE) -C $$i install;               \
         done

=== modified file 'configure.ac'
--- configure.ac	
+++ configure.ac	
@@ -1,3 +1,4 @@
+
 # configure.ac --- configuration setup for DVC
 
 # Author:        Robert Widhopf-Fenk <[EMAIL PROTECTED]>
@@ -207,7 +208,7 @@
       if test "x$theprefix" = "xNONE"; then
   	theprefix=$ac_default_prefix
       fi
-      datadir="\$(prefix)/share"
+      datadir="${theprefix}/share"
       if test "$EMACS_FLAVOR" = "xemacs"; then
           datadir="\$(prefix)/lib"
           lispdir="${datadir}/${EMACS_FLAVOR}/site-packages/lisp/dvc"
@@ -265,7 +266,7 @@
     if test "$EMACS_FLAVOR" = "xemacs"; then
       info_dir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/info"
     else
-      info_dir="\$(prefix)/share/info"
+      info_dir="${theprefix}/share/info"
     fi
   else
     info_dir=$infodir

=== modified file 'dvc-load-install.el.in'
--- dvc-load-install.el.in	
+++ dvc-load-install.el.in	
@@ -16,7 +16,7 @@
 (add-to-list 'load-path "@lispdir@/")
 (unless (locate-library "ewoc")
   (add-to-list 'load-path "@lispdir@/contrib"))
-(add-to-list 'Info-default-directory-list "@info_dir@/info")
+(add-to-list 'Info-default-directory-list "@info_dir@")
 
 (if (featurep 'xtla)
     (tla-reload)

=== modified file 'lisp/Makefile.in'
--- lisp/Makefile.in	
+++ lisp/Makefile.in	
@@ -41,15 +41,15 @@
 # This entry will never install .el files if there are no .elc files.
 install-el: autoloads
 	$(INSTALL) -d -m 0755 $(lispdir)/
-	if test -f "../dvc-load.el"; then                             \
-	    echo "Install dvc-load.el in $(lispdir)/dvc-load.el"      \
-	    $(INSTALL_DATA) ../dvc-load.el $(lispdir)/;               \
+	if test -f "../dvc-load-install.el"; then                          \
+	    echo "Install dvc-load.el in $(lispdir)/dvc-load.el";          \
+	    $(INSTALL_DATA) ../dvc-load-install.el $(lispdir)/dvc-load.el; \
 	fi
 	for elc in *.elc; do                                          \
 	    el=`basename $$elc c`;                                    \
 	    if test -f "$(srcdir)/$$el"; then                         \
 	        echo "Install $$el in $(lispdir)/";                   \
-	        $(INSTALL_DATA) $$el $(lispdir)/;                     \
+	        $(INSTALL_DATA) $(srcdir)/$$el $(lispdir)/;           \
 	    fi;                                                       \
         done;
 	CONTRIBELC=`ls -1 $(contribdir)/*.elc || /bin/true`;          \


grüße
sascha
-- 
Sascha Wilde

"There is no reason why anyone would want a computer in their home"
Ken Olson, DEC, 1977

--- End Message ---
_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to