aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 74d19a31..79a128ce 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -224,6 +224,11 @@ install-exec:
PPLATFORM := @FPC_PLATFORM@
PPROCESSOR := @FPC_PROCESSOR@
+.PHONY: install-plugins
+install-plugins:
+ $(MKDIR) "$(DESTDIR)$(INSTALL_DATADIR)/plugins"
+ $(INSTALL) "$(USDX_GAME_DIR)/plugins"/* "$(DESTDIR)$(INSTALL_DATADIR)/plugins"
+
.PHONY: install-data
install-data:
$(MAKE) RECURSIVE_SRC_DIR="artwork" \
@@ -286,6 +291,10 @@ uninstall-data:
uninstall-exec:
$(RM) "$(DESTDIR)$(bindir)/$(USDX_BIN_NAME)"
+.PHONY: uninstall-plugins
+uninstall-plugins:
+ $(RM_REC) "$(DESTDIR)$(INSTALL_DATADIR)/plugins"
+
#################################################
# Distributable source-package (TODO)
#################################################