From b46042aeded3e4182500f46ff6f8e1aa5de5d5d1 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Thu, 3 Jun 2021 16:17:55 -0400 Subject: [PATCH] build(striker-ui): add uninstall steps for web UI --- striker-ui/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/striker-ui/Makefile.am b/striker-ui/Makefile.am index e78cfaca..b8c63467 100644 --- a/striker-ui/Makefile.am +++ b/striker-ui/Makefile.am @@ -121,3 +121,7 @@ install-data-hook: cp -r $(outdir)/index.html $(outdir)/_next $(DESTDIR)/$(htmldir)/ -@echo "Create symlink to images to enable borrowing icon etc. without duplicating." (cd $(DESTDIR)/$(htmldir); $(LN_S) skins/alteeve/images pngs) + +uninstall-hook: + -@echo "Remove all installed files of the current module." + (cd $(DESTDIR)/$(htmldir); rm -rf index.html _next pngs)