--- cups-filters-1.0.4.orig/Makefile +++ cups-filters-1.0.4/Makefile @@ -23,6 +23,8 @@ include Makedefs DIRS = cupsfilters backend filter pdftoopvp pdftopdf $(PHPDIR) +Makedefs: + $(CURDIR)/configure # # Make all targets... # --- cups-filters-1.0.4.orig/filter/Makefile +++ cups-filters-1.0.4/filter/Makefile @@ -101,6 +101,7 @@ all: $(TARGETS) # clean: + $(MAKE) -C fontembed $@ $(RM) $(OBJS) $(TARGETS) $(RM) */*.d $(RM) */*.o --- cups-filters-1.0.4.orig/pdftoopvp/Makefile +++ cups-filters-1.0.4/pdftoopvp/Makefile @@ -39,6 +39,7 @@ framedhelp: # clean: + $(MAKE) -C oprs $@ $(RM) $(OBJS) $(RM) pdftoopvp
An alternative approach, maybe less intrusive: Instead of touching
Makedefs, define the correct actual dependency in the top-level
Makefile. This will cause configure to be run when 'make distclean' is
called twice in a row, which is a bit tedious, but at least it's not a
hack anymore but a solution. ;)
- Bug#663564: cups-filters: 'make clean' leaves some object... Fabian Greffrath
- Bug#663564: Acknowledgement (cups-filters: 'make cle... Fabian Greffrath
- Bug#663564: Acknowledgement (cups-filters: 'make... Fabian Greffrath
- Bug#663564: [Pkg-cups-devel] Bug#663564: Ack... Martin Pitt
- Bug#663564: [Pkg-cups-devel] Bug#663564:... Fabian Greffrath
- Bug#663564: [Pkg-cups-devel] Bug#663564: Acknowl... Till Kamppeter
- Bug#663564: [Pkg-cups-devel] Bug#663564: Ack... Fabian Greffrath