New submission from Xavier de Gaye <xdeg...@gmail.com>: After applying the attached Makefile.pre.in.diff that changes the text of the message printed by the 'Makefile' target, the make command gives:
$ make CONFIG_FILES=Makefile.pre CONFIG_HEADERS= /bin/sh config.status config.status: creating Makefile.pre make -f Makefile.pre Makefile make[1]: Entering directory '/path/to/master' /bin/sh ./Modules/makesetup -c ./Modules/config.c.in \ -s Modules \ Modules/Setup.local \ Modules/Setup This is the new Makefile. The Makefile was updated, you may need to re-run make. <--- new Makefile make[1]: Leaving directory '/path/to/master' /bin/sh ./Modules/makesetup -c ./Modules/config.c.in \ -s Modules \ Modules/Setup.local \ Modules/Setup The Makefile was updated, you may need to re-run make. <--- old Makefile gcc -pthread -c -Wno-unused-result -Wsign-compare -g -Og -Wall -Wstrict-prototypes -std=c99 -Wext ra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-functio n-declaration -I. -I./Include -DPy_BUILD_CORE \ -DABIFLAGS='"dm"' \ -DMULTIARCH=\"x86_64-linux-gnu\" \ -o Python/sysmodule.o ./Python/sysmodule.c .... The two messages printed by the 'Makefile' target show that make is still running the previous Makefile after completing the sub-make (i.e. after the line "make[1]: Leaving directory '/path/to/master'"). ---------- components: Build files: Makefile.pre.in.diff keywords: patch messages: 309270 nosy: xdegaye priority: normal severity: normal stage: needs patch status: open title: the first build after a change to Makefile.pre.in uses the old Makefile type: behavior versions: Python 2.7, Python 3.6, Python 3.7 Added file: https://bugs.python.org/file47356/Makefile.pre.in.diff _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32461> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com