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.1.7/src/cups/Makefile.am =================================================================== --- gutenprint-5.1.7.orig/src/cups/Makefile.am +++ gutenprint-5.1.7/src/cups/Makefile.am @@ -173,10 +173,11 @@ all-local: $(INSTALL_DATA_LOCAL_DEPS) ppd: ppd-stamp ppd-stamp: cups-genppdconfig.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ $(top_srcdir)/src/main/printers.xml $(top_srcdir)/src/main/papers.xml + $(MAKE) ppd-stamp-pre $(MAKE) ppd-stamp-phony touch ppd-stamp -ppd-stamp-phony: ppd-stamp-pre ppd-nonls $(PPD_NLS) +ppd-stamp-phony: ppd-nonls $(PPD_NLS) ppd-stamp-pre: -$(RM) -r ppd Index: gutenprint-5.1.7/src/cups/Makefile.in =================================================================== --- gutenprint-5.1.7.orig/src/cups/Makefile.in +++ gutenprint-5.1.7/src/cups/Makefile.in @@ -1042,10 +1042,11 @@ all-local: $(INSTALL_DATA_LOCAL_DEPS) ppd: ppd-stamp ppd-stamp: cups-genppdconfig.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ $(top_srcdir)/src/main/printers.xml $(top_srcdir)/src/main/papers.xml + $(MAKE) ppd-stamp-pre $(MAKE) ppd-stamp-phony touch ppd-stamp -ppd-stamp-phony: ppd-stamp-pre ppd-nonls $(PPD_NLS) +ppd-stamp-phony: ppd-nonls $(PPD_NLS) ppd-stamp-pre: -$(RM) -r ppd