- fix make install_macosx in VPATH build. It has to use "test -e" to

look for things in its install list, which may be files or directories
  (like bochs.app)
This commit is contained in:
Bryce Denney 2002-11-23 00:25:50 +00:00
parent a4806d3fce
commit eb8bb017a4

View File

@ -239,7 +239,7 @@ $(BX_OBJS): $(BX_INCLUDES)
bxversion.h:
$(RM) -f bxversion.h
echo '/////////////////////////////////////////////////////////////////////////' > bxversion.h
echo '// $$Id: Makefile.in,v 1.119 2002-11-22 21:04:10 bdenney Exp $$' >> bxversion.h
echo '// $$Id: Makefile.in,v 1.120 2002-11-23 00:25:50 bdenney Exp $$' >> bxversion.h
echo '/////////////////////////////////////////////////////////////////////////' >> bxversion.h
echo '// This file is generated by "make bxversion.h"' >> bxversion.h
echo "#define VER_STRING \"$(VER_STRING)\"" >> bxversion.h
@ -618,7 +618,7 @@ $(APP)/.build_plugins: $(APP)/.build bochs_plugins
install_macosx: all download_dlx
-mkdir -p $(prefix)
for i in $(INSTALL_LIST_MACOSX); do if test -f $$i; then $(CPMAC) -r $$i $(prefix); else $(CPMAC) -r $(srcdir)/$$i $(prefix); fi; done
for i in $(INSTALL_LIST_MACOSX); do if test -e $$i; then $(CPMAC) -r $$i $(prefix); else $(CPMAC) -r $(srcdir)/$$i $(prefix); fi; done
$(CPMAC) $(srcdir)/.bochsrc $(prefix)/bochsrc-sample.txt
$(CPMAC) -r $(srcdir)/docs-html $(prefix)
-mkdir $(prefix)/keymaps