#43995: generate_packets.py get run on every build Open Date: 2022-03-01 09:49 Last Update: 2022-04-10 23:59 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/43995 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43995 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-04-10 23:59 Updated by: alienvalkyrie Comment: Reply To cazfi 2) Add support to common/Makefile (and meson.build?) for user to pass *additional* parameters to generate_packets.py, likely via environment variables While looking at this (and trying to understand how autoconf works), I just noticed configure.ac already does AC_SUBST(GENERATE_PACKETS_ARGS) – the variable just isn't used anywhere yet. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.2.0 Component: Bootstrap Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Current master: even when I run 'make' twice in a row, without changing absolutely anything, the output shows that generate_packets.py gets run. Don't understand why. I've checked timestamps of both generate_packets.py and packets.def, and neither has any weird in-future timestamp. This is probably mostly harmless in a development branch, but if the same happens (haven't tested) in a build from a release tarball, that breaks a build without python. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/43995 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43995