app: make welcome-dialog-data.[ch] deps relative to $(top_srcdir).

Hopefully it will fix the following CI errors:

> make[4]: *** No rule to make target '../../tools/generate-welcome-dialog-data.py', needed by 'welcome-dialog-data.h'.  Stop.

I thought using relative paths was fine too here, but I might have been
wrong (even though it worked locally).
This commit is contained in:
Jehan 2022-03-06 11:53:14 +01:00
parent 60b67ec204
commit eb871a12e7
1 changed files with 2 additions and 2 deletions

View File

@ -131,8 +131,8 @@ endif
$(srcdir)/welcome-dialog.c: welcome-dialog-data.h welcome-dialog-data.c
welcome-dialog-data.h: ../../desktop/org.gimp.GIMP.appdata.xml.in.in ../../tools/generate-welcome-dialog-data.py
welcome-dialog-data.h: $(top_srcdir)/desktop/org.gimp.GIMP.appdata.xml.in.in $(top_srcdir)/tools/generate-welcome-dialog-data.py
$(top_srcdir)/tools/generate-welcome-dialog-data.py --header $(GIMP_VERSION) > $@
welcome-dialog-data.c: ../../desktop/org.gimp.GIMP.appdata.xml.in.in ../../tools/generate-welcome-dialog-data.py
welcome-dialog-data.c: $(top_srcdir)/desktop/org.gimp.GIMP.appdata.xml.in.in $(top_srcdir)/tools/generate-welcome-dialog-data.py
$(top_srcdir)/tools/generate-welcome-dialog-data.py $(GIMP_VERSION) > $@