emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

small fix for mac/make-package


From: Andreas Vögele
Subject: small fix for mac/make-package
Date: Fri, 26 Mar 2004 12:41:06 +0100

Hi,

can anyone apply the included patch to mac/make-package?  I sent this
patch to the emacs-pretest-bug list almost two weeks ago but it seems
that there are no Mac developers on that list.

When building the CVS version with mac/make-package the build fails
because of a problem with relative path names in lisp/Makefile.in.  It
seems that the pattern "*/.*" in lisp/Makefile.in wrongly matches path
names ending with "/..":

setwins=subdirs=`find $$wd -type d -print`; \
        for file in $$subdirs; do \
           case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | 
*/=* ) ;; \
                *) wins="$$wins $$file" ;; \
           esac; \
        done

This problem can easily be fixed by using an absolute path name in
mac/make-package:

--- make-package.~1.20.~        2004-03-25 12:14:35.000000000 +0100
+++ make-package        2004-03-15 15:13:27.000000000 +0100
@@ -41,7 +41,7 @@
 
 progname="$0"
 
-srcdir="`pwd`/.."
+srcdir="`cd .. && pwd`"
 builddir=${srcdir}
 
 ## Default location to place it is /usr/local




reply via email to

[Prev in Thread] Current Thread [Next in Thread]