From 851d96de8ad3274aab8b6923181423194e0f83de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Tue, 26 Oct 2021 09:31:05 +0200 Subject: [PATCH] Fix misleading DosBox snippet in porting-guide The included 'target.mk' snippet of DosBox suggests to use the contrib source directory directly to reference source files. Fixes #4305. --- doc/porting_guide.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/porting_guide.txt b/doc/porting_guide.txt index 97eff96be3..dd2fe85597 100644 --- a/doc/porting_guide.txt +++ b/doc/porting_guide.txt @@ -289,9 +289,9 @@ Examining the log file leaves us with the following list of source files: ! FILTER_OUT_dos = cdrom_aspi_win32.cpp cdrom_ioctl_linux.cpp cdrom_ioctl_os2.cpp \ ! cdrom_ioctl_win32.cpp ! SRC_CC_dos = $(filter-out $(FILTER_OUT_dos), \ -! $(notdir $(wildcard $(DOSBOX_DIR)/src/*.cpp))) +! $(notdir $(wildcard $(DOSBOX_DIR)/src/dos/*.cpp))) ! […] -! SRC_CC = $(DOSBOX_DIR)/src/dosbox.cpp +! SRC_CC = $(notdir $(DOSBOX_DIR)/src/dosbox.cpp) ! SRC_CC += $(SRC_CC_cpu) $(SRC_CC_debug) $(SRC_CC_dos) $(SRC_CC_fpu) \ ! $(SRC_CC_gui) $(SRC_CC_hw) $(SRC_CC_hw_ser) $(SRC_CC_ints) \ ! $(SRC_CC_ints) $(SRC_CC_misc) $(SRC_CC_shell)