Skip to content

Commit

Permalink
fix: add uninstallation of installed files
Browse files Browse the repository at this point in the history
  • Loading branch information
idevat committed Jan 28, 2025
1 parent 93597a4 commit 9be92e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ if ENABLE_COCKPIT
cp $(APP_SRC)/$(METAINFO_FILE) $(DESTDIR)/$(METAINFO_DIR)
endif

uninstall-local:
rm -rf $(DESTDIR)/$(PCSD_WEBUI_DIR)/*
rm -rf $(DESTDIR)/$(COCKPIT_DIR)/ha-cluster
rm -f $(DESTDIR)/$(METAINFO_DIR)/$(METAINFO_FILE)

clean-local:
if [ "${abs_top_builddir}" != "${abs_top_srcdir}" ]; then \
rm -rf $(APP_BUILD)/node_modules; \
Expand Down

0 comments on commit 9be92e4

Please sign in to comment.