add target "clean"

This commit is contained in:
Tilman Kranz 2024-11-13 07:41:46 +01:00 committed by Tilman Kranz
parent cf91bd87e8
commit aaffe70ee7

View File

@ -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 \