Mail Archives: djgpp-workers/2001/02/13/23:58:06
>
> > Rem This is required because DOS/Windows are case-insensitive
> > Rem to file names, and "make install" will do nothing if Make
> > Rem finds a file called `install'.
> > [snip]
> > Rem install-sh is required by the configure script but clashes with the
> > Rem various Makefile install-foo targets, so we MUST have it before the
> > Rem script runs and rename it afterwards
> These should really be fixed in the makefile (those rules should be .PHONY)
> Is it automake-based? If not, I'd suggest adding .PHONY dependencies for
> all phony targets.
>
> > [if test -d ".\."; then
> Are you sure this test works?
Well if it did not work on DOS, Juan(?) could not have spotted the error.
>Wouldn't that resolve to 'test -d ..' on any system?
No, it will resolve to searching in the current directory "."
for a directory call ".". Which can not be in Unix, "." and ".."
always exist.
hmm, I probably confuse you even more ... see it this way
if you were looking for Unix file system as oppose to DOS file system
you would have test for this:
if test -d "./."; then
# Unix file
Better ?
In any case credits go to Paul Eggert and Eli for this coocoo test ;-)
--
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!
- Raw text -