To avoid parallel build issues, the ppd-stamp-pre target has to be executed before other ppd targets. 2009-03-04 Martin von Gagern References: https://bugs.gentoo.org/254008 Index: gutenprint-5.2.3/src/cups/Makefile.am =================================================================== --- gutenprint-5.2.3.orig/src/cups/Makefile.am +++ gutenprint-5.2.3/src/cups/Makefile.am @@ -182,10 +182,11 @@ all-local: $(INSTALL_DATA_LOCAL_DEPS) ppd: ppd-stamp ppd-stamp: cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ $(top_srcdir)/src/xml/xml-stamp + $(MAKE) ppd-stamp-pre $(MAKE) ppd-stamp-phony touch ppd-stamp -ppd-stamp-phony: ppd-stamp-pre $(PPD) +ppd-stamp-phony: $(PPD) ppd-stamp-pre: -$(RM) -r ppd Index: gutenprint-5.2.3/src/cups/Makefile.in =================================================================== --- gutenprint-5.2.3.orig/src/cups/Makefile.in +++ gutenprint-5.2.3/src/cups/Makefile.in @@ -1087,10 +1087,11 @@ all-local: $(INSTALL_DATA_LOCAL_DEPS) ppd: ppd-stamp ppd-stamp: cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ $(top_srcdir)/src/xml/xml-stamp + $(MAKE) ppd-stamp-pre $(MAKE) ppd-stamp-phony touch ppd-stamp -ppd-stamp-phony: ppd-stamp-pre $(PPD) +ppd-stamp-phony: $(PPD) ppd-stamp-pre: -$(RM) -r ppd