Gimp/menus
Jehan 19e545bc1f menus: fix validating the XML menu files with meson build.
Basically the build was never running this target (unless maybe in some
edge cases as could be demonstrated by the Arch repository build, though
it doesn't look they did anything particular; this is how we discovered
the bug #6447 as this was not run on our own local or CI builds).
Reading the docs of run_target(), it may actually have been normal.
run_target() looks to be only about creating top-level targets (which
one could run with `ninja validate_menus` in our case for instance), not
actually running the command (i.e. badly named function).

For the command to be actually run on a normal build, let's use a
custom_target() as proposed by Paolo Bonzini. After testing, the xmllint
validation is properly run on a normal build and dependency works fine
with both the source XML and generated XML files (touching these files
trigger a rebuild).
The output of xmllint is stored in some dummy file, which is only useful
to prevent re-running the command at each build even though source XML
were unchanged (so it's more of a flag file).

See discussion in #6447.
2021-06-18 15:18:23 +02:00
..
.gitignore
brush-editor-menu.xml
brushes-menu.xml
buffers-menu.xml
channels-menu.xml
colormap-menu.xml
cursor-info-menu.xml
dashboard-menu.xml
dialogs-menuitems.xml
dockable-menu.xml.in
documents-menu.xml
dynamics-editor-menu.xml
dynamics-menu.xml
error-console-menu.xml
fonts-menu.xml
gradient-editor-menu.xml
gradients-menu.xml
gtkuimanager.dtd
image-menu.xml.in app, menus: move "GEGL Operation" from Tools to Filters > Generic menu. 2021-01-31 17:46:29 +01:00
images-menu.xml
layers-menu.xml
Makefile.am app: Add basic infratructure for a vector tool popup menu. 2020-05-25 22:13:45 +02:00
menus.xsl
meson.build menus: fix validating the XML menu files with meson build. 2021-06-18 15:18:23 +02:00
mypaint-brushes-menu.xml
palette-editor-menu.xml
palettes-menu.xml
patterns-menu.xml
quick-mask-menu.xml
sample-points-menu.xml
selection-menu.xml
templates-menu.xml
text-editor-toolbar.xml
text-tool-menu.xml app, menus: get rid of custom input method menu. 2020-12-15 03:04:15 +01:00
tool-options-menu.xml
tool-preset-editor-menu.xml
tool-presets-menu.xml
undo-menu.xml
vector-toolpath-menu.xml app: implement a few more functions for the ToolPath context menu. 2020-05-25 22:13:45 +02:00
vectors-menu.xml