Hi,

I just had to rebuild dvc and thought I just follow the INSTALL
instructions:

,----
| $ cd dvc/
| $ mkdir ++build/
| $ cd ++build/
| $ ../configure 
| $ make
`----

Adding '--prefix=/NONE' to the ./configure line since I don't
intend to install it (but that's unrelated).

The make broke failing to find ../../config.status.

The following patch fixed the problem:

=== modified file 'lisp/Makefile.in'
--- lisp/Makefile.in    2008-08-23 06:26:26 +0000
+++ lisp/Makefile.in    2008-08-25 15:41:32 +0000
@@ -80,7 +80,7 @@
 
 
 ##############################################################################
-dvc-version.el: $(top_srcdir)/config.status
+dvc-version.el: ../config.status
        @echo Creating $@
        @( echo ';;; $@ (generated file -- do not edit!)' ; \
           echo '(defconst dvc-version "$(PACKAGE_VERSION)"' ; \
@@ -89,7 +89,7 @@
           echo "(provide 'dvc-version)" ) \
         > $@
 
-dvc-site.el: $(top_srcdir)/config.status $(srcdir)/dvc-site.el.in
+dvc-site.el: ../config.status $(srcdir)/dvc-site.el.in
        (cd .. ; ./config.status lisp/$@)
 
 .PHONY: all all-verbose install \


There may be a better way, but:

- config.status is already referenced as '../config.status' in
  the Makefile rule,

- the 'dvc-site.el' rule uses (cd .. ; ./config.status <...>)

Hth,

   Vincent

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

Reply via email to