mirror of https://github.com/GNOME/gimp.git
icons, tools: touch the meson.build files when regenerating icon list.
Even though we only generate makefiles, we actually want to make meson aware of the list change because it continues using the file list from the previous configuration. We do this by "touching" the meson.build files, i.e. editing their access time. Also rebuild the icon-list as there are small changes forgotten.
This commit is contained in:
parent
c872dcbf20
commit
92a919aee1
|
@ -46,7 +46,6 @@ scalable_images = \
|
|||
scalable/help-about.svg \
|
||||
scalable/list-add.svg \
|
||||
scalable/list-remove.svg \
|
||||
\
|
||||
scalable/media-playback-pause.svg \
|
||||
scalable/media-playback-start.svg \
|
||||
scalable/media-record.svg \
|
||||
|
|
|
@ -46,7 +46,6 @@ scalable_images = \
|
|||
scalable/help-about-symbolic.svg \
|
||||
scalable/list-add-symbolic.svg \
|
||||
scalable/list-remove-symbolic.svg \
|
||||
\
|
||||
scalable/media-playback-pause-symbolic.svg \
|
||||
scalable/media-playback-start-symbolic.svg \
|
||||
scalable/media-record-symbolic.svg \
|
||||
|
|
|
@ -226,3 +226,10 @@ if __name__ == "__main__":
|
|||
for line in f:
|
||||
colorf.write(line)
|
||||
symbolicf.write(line)
|
||||
|
||||
# Touch the 2 meson.build to force-trigger their re-processing (hence
|
||||
# re-configuration) at next build. Otherwise even with image list
|
||||
# changed, meson might not see it as it uses the list from the last
|
||||
# configuration.
|
||||
os.utime(os.path.join(icons_dir, 'Color', 'meson.build'), times=None)
|
||||
os.utime(os.path.join(icons_dir, 'Symbolic', 'meson.build'), times=None)
|
||||
|
|
Loading…
Reference in New Issue