Makefile: update 'reset' target

This commit is contained in:
Henrik Lissner 2016-03-27 00:50:08 -04:00
parent dedc0f5ee3
commit 2d8985975b

View file

@ -25,9 +25,8 @@ clean:
@rm -f *.elc {core,modules,private,contrib}/*.elc {core,modules}/defuns/*.elc
reset:
@rm -fr $(CACHE_DIR)/{ltxpng,pcache,undo}
@mkdir -p $(CACHE_DIR)/{ltxpng,pcache,undo}
rm -f "$(CACHE_DIR)/workgroups/*"
@find $(CACHE_DIR) -type f -maxdepth 1 -delete
@rm -f $(CACHE_DIR)/{workgroups,pcache,ltxpng,backup}/*
%.elc: %.el