bug-automake
[Top][All Lists]
Advanced

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

automake 1.7.2 & DJGPP: =inst and =build directories


From: Richard Dawe
Subject: automake 1.7.2 & DJGPP: =inst and =build directories
Date: Fri, 10 Jan 2003 13:56:17 +0000

Hello.

The equals character '=' is not valid in DOS filenames. So automake will break
under DOS, when it uses =build and =inst filenames in Makefiles. Below is a
ChangeLog and patch to use _build and _inst instead.

Please CC me on any replies, because I'm not subscribed to bug-automake.

Thanks, regards,

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

2003-01-10  Richard Dawe  <address@hidden>

        *  lib/am/distdir.am: '=' is not valid in DOS filenames.
        Use '_build' and '_inst' instead of '=build' and '=inst'.

        *  tests/man2.test: Reflect change automake: check
        for files in '_build' and '_inst' directories
        instead of '=build' and '=inst'.

--- /dev/c/develop/ports/orig/automake-1.7.2/lib/am/distdir.am  2002-09-30
12:57:46.000000000 +0000
+++ /dev/c/develop/ports/gnu.dev/automake-1.7.2/lib/am/distdir.am 2003-01-07
21:52:10.000000000 +0000
@@ -299,17 +299,17 @@ distcheck: dist
 ## this case.  However, make the top-level directory writable so we
 ## can make our new subdirs.
        chmod -R a-w $(distdir); chmod a+w $(distdir)
-       mkdir $(distdir)/=build
-       mkdir $(distdir)/=inst
+       mkdir $(distdir)/_build
+       mkdir $(distdir)/_inst
 ## Undo the write access.
        chmod a-w $(distdir)
-       dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
+       dc_install_base=`$(am__cd) $(distdir)/_inst && pwd` \
 ## We will attemp a DESTDIR install in $dc_destdir.  We don't
 ## create this directory under $dc_install_base, because it would
 ## create very long directory names.
          && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
 ?DISTCHECK-HOOK?         && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \
-         && cd $(distdir)/=build \
+         && cd $(distdir)/_build \
          && ../configure --srcdir=.. --prefix="$$dc_install_base" \
 ?GETTEXT?          --with-included-gettext \
 ## Additional flags for configure.  Keep this last in the configure
--- /dev/c/develop/ports/orig/automake-1.7.2/tests/man2.test    2002-12-04
17:32:46.000000000 +0000
+++ /dev/c/develop/ports/gnu.dev/automake-1.7.2/tests/man2.test 2003-01-08
13:39:14.000000000 +0000
@@ -42,14 +42,14 @@ $AUTOMAKE
 
 # Let's play with $DESTDIR too, it shouldn't hurt.
 ./configure --prefix=''
-DESTDIR="`pwd`/=inst" $MAKE -e SHELL=/bin/sh install
+DESTDIR="`pwd`/_inst" $MAKE -e SHELL=/dev/env/DJDIR/bin/bash.exe install
 
-test -f ./=inst/man/man2/foo.2
-test -f ./=inst/man/man4/foo.4
-test -f ./=inst/man/man4/bar.4
+test -f ./_inst/man/man2/foo.2
+test -f ./_inst/man/man4/foo.4
+test -f ./_inst/man/man4/bar.4
 
-DESTDIR="`pwd`/=inst" $MAKE -e SHELL=/bin/sh uninstall
+DESTDIR="`pwd`/_inst" $MAKE -e SHELL=/dev/env/DJDIR/bin/bash.exe uninstall
 
-test ! -f ./=inst/man/man2/foo.2
-test ! -f ./=inst/man/man4/foo.4
-test ! -f ./=inst/man/man4/bar.4
+test ! -f ./_inst/man/man2/foo.2
+test ! -f ./_inst/man/man4/foo.4
+test ! -f ./_inst/man/man4/bar.4




reply via email to

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