]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/foomatic
foomatic: Clean out /usr/share/foomatic prior to build to prevent hangs
[ipfire-2.x.git] / lfs / foomatic
index ac4ec78bc148ab1dc13fc645229d66c4d1a063b7..712247ff038c44beda47397f78c9235f2942cb8e 100644 (file)
@@ -35,7 +35,7 @@ TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = foomatic
 PAK_VER    = 1
 
-DEPS       = "cups ghostscript"
+DEPS       = "cups ghostscript libtiff hplip"
 
 ###############################################################################
 # Top-level Rules
@@ -86,7 +86,7 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_SRC)/foomatic-* && cd $(DIR_SRC) && \
+       @rm -rf $(DIR_SRC)/foomatic-* /usr/share/foomatic && cd $(DIR_SRC) && \
                tar zxf $(DIR_DL)/$(DL_FILE) && \
                tar zxf $(DIR_DL)/foomatic-db-$(DATE).tar.gz && \
                tar zxf $(DIR_DL)/foomatic-db-engine-$(VER).tar.gz && \