From aaffe70ee7ffda53ba4b0c7a1564365e61a9c342 Mon Sep 17 00:00:00 2001 From: tilt12345678 Date: Wed, 13 Nov 2024 07:41:46 +0100 Subject: [PATCH] add target "clean" --- Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Makefile b/Makefile index 8ff9e30..02dcdfe 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,11 @@ PATCH_MEDIAELEMENT_PLUGINS=true .PHONY: \ all \ + clean \ + clean-css \ + clean-js \ + clean-mediaelement \ + clean-mediaelement-plugins \ depend \ depend-mediaelement \ depend-mediaelement-plugins \ @@ -16,6 +21,24 @@ all: \ css \ src +clean: \ + clean-css \ + clean-js \ + clean-mediaelement \ + clean-mediaelement-plugins + +clean-css: + rm -f dist/css/*.css dist/css/*.svg + +clean-js: + rm -f dist/js/*.js + +clean-mediaelement: + git -C mediaelement reset --hard HEAD + +clean-mediaelement-plugins: + git -C mediaelement-plugins reset --hard HEAD + depend: \ depend-node \ depend-mediaelement \