GNOME Bugzilla – Bug 743091
INCLUDES is the old name for AM_CPPFLAGS
Last modified: 2021-06-02 08:51:31 UTC
Created attachment 294740 [details] [review] INCLUDES is the old name for AM_CPPFLAGS $ ./autogen.sh eds-backend/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') eds-backend/planner-source/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') eds-backend/utils/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') libplanner/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') python/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tests/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Easy : $ L=$(find -name Makefile.am) $ perl -i -pe 's/\bINCLUDES\b/AM_CPPFLAGS/g' $L
Maybe we should also rename PYTHON_INCLUDES to PYTHON_CPPFLAGS. What do you think? There doesn’t seem to be a rule about it but it seems to fit the convention.
Closing this ticket before any mass-closing of bugzilla tickets due to bugzilla shutdown for better extra information: There is a pending complete port to meson instead of autotools at https://gitlab.gnome.org/World/planner/-/merge_requests/8 which would make this here obsolete