[AD] make failing on mkdir |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: [AD] make failing on mkdir
- From: Matthew Leverton <meffer@xxxxxxxxxx>
- Date: Tue, 25 Jan 2005 17:30:45 -0600
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=n7GqdxmXJdkv5al5wKCygg4ge/W30xUmHmhUl1Y1GfUnNpP3t5nkl9w1TLjP4PlQ0DouHNPyK7Zf8Udal0It+QSlAmBXp6cMjbr22/m6XP6g7TiUaNteP8NVwtsBw5B3cOi1/vOGrrbC5AiBMf3vs/9tS14hEiwEFlgRO9Nxres=
This is what happens:
C:\code\allegro>make installall STATICLINK=1
make msg lib install
make[1]: Entering directory `C:/code/allegro'
Compiling Allegro for MSVC, optimised statically linked. Please wait...
make[1]: Nothing to be done for `lib'.
mkdir C:\PROGRA~1\MICROS~2\VC98\lib
A subdirectory or file C:\PROGRA~1\MICROS~2\VC98\lib already exists.
make[1]: *** [create-install-dirs] Error 1
make[1]: Leaving directory `C:/code/allegro'
make: *** [installall] Error 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Around line 270 in makefile.all, I added the - in front of mkdir to
ignore the error. I don't know make syntax very well, so I don't know
if it thinks it's only mkdir'ing if it doesn't already exist or what.
create-install-dirs:
ifneq (,$(INSTALL_DIRS))
define MKDIRS
$(foreach file, $(filter-out $(existing_dirs), $(INSTALL_DIRS)), \
-mkdir $(MKDIR_OPTS) $(file)
)
endef
$(MKDIRS)
endif
--
Matthew Leverton - matthew@xxxxxxxxxx
http://www.allegro.cc