Revert "backend/Makefile: Remove unneeded references to $(srcdir)"

This breaks "make dist" when run locally in the CI container.
escl-add-user-and-password
David Ward 2022-04-24 20:12:23 -04:00
rodzic ac42d6e684
commit 28b5aa7dee
1 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -1450,13 +1450,15 @@ libpixma_la_CPPFLAGS = $(AM_CPPFLAGS) $(XML_CFLAGS) -DBACKEND_NAME=pixma
# The circular dependency means we cannot add it as a prerequisite
# for the targets that build the options files.
pixma/pixma.c: pixma/pixma_sane_options.h pixma/pixma_sane_options.c
$(srcdir)/pixma/pixma.c: \
$(srcdir)/pixma/pixma_sane_options.h \
$(srcdir)/pixma/pixma_sane_options.c
pixma/pixma_sane_options.h:
$(srcdir)/pixma/pixma_sane_options.h:
$(AM_V_GEN)
@if $(AM_V_P); then echo Generating $@ from $(@D)/pixma.c; fi
@(cd $(@D); $(PYTHON) scripts/pixma_gen_options.py h < pixma.c > $(@F))
pixma/pixma_sane_options.c:
$(srcdir)/pixma/pixma_sane_options.c:
$(AM_V_GEN)
@if $(AM_V_P); then echo Generating $@ from $(@D)/pixma.c; fi
@(cd $(@D); $(PYTHON) scripts/pixma_gen_options.py < pixma.c > $(@F))