emacs-pretest-bug
[Top][All Lists]
Advanced

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

fix for mac/make-package


From: Andreas Vögele
Subject: fix for mac/make-package
Date: Mon, 15 Mar 2004 16:21:10 +0100

When building the CVS version with mac/make-package the build fails
because of a problem in lisp/Makefile.in with relative path names.

mac/make-package defines the variable "srcdir" as a relative path
name: srcdir="`pwd`/.."

It seems that the pattern "*/.*" in lisp/Makefile.in wrongly matches
relative path names:

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: srcdir="`cd .. && pwd`"

*** make-package.~1.20.~        2003-09-01 17:45:41.000000000 +0200
--- make-package        2004-03-15 15:13:27.000000000 +0100
***************
*** 41,47 ****
  
  progname="$0"
  
! srcdir="`pwd`/.."
  builddir=${srcdir}
  
  ## Default location to place it is /usr/local
--- 41,47 ----
  
  progname="$0"
  
! 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]