From 55bf19865abe1b2574802f72d6d38722c789937a Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Wed, 25 Sep 2013 11:23:51 +0200 Subject: [PATCH] Avoid removing vendor and $(DESTDIR). The vendor/ directory contain source used during build, and $(DESTDIR) might point to /usr/. Neither should be removed in the clean target. --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index c9a6b4cdc..d3e6496fc 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,6 @@ CSS=$(wildcard *.css) CSS=$(subst .tiny,,$(shell find themes -type f -name '*.css')) COMPRESSED_CSS := $(patsubst %.css,%.tiny.css,$(CSS)) PWD=`pwd` -BUILDDIR=vendor # hosting variables SLEEP_TIME=300 @@ -81,7 +80,6 @@ clean: @find . -name "*.bak" -exec rm {} \; @$(MAKE) -s -C doc clean @$(MAKE) -s -C templates clean - rm -rf $(BUILDDIR) $(DESTDIR) rm -f predepend hosting: