X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e82ec777fc54a172b8009125a65675080f24ce68..11422f8dd8d0bbd2a9316974a634e185ec18fd9f:/projects/convertor/Makefile

diff --git a/projects/convertor/Makefile b/projects/convertor/Makefile
index efacbb64..04c00cc4 100644
--- a/projects/convertor/Makefile
+++ b/projects/convertor/Makefile
@@ -58,6 +58,21 @@ clean:
 distclean: clean
 	rm -f ../../Makefile.conf
 
+install: install-bin
+
+install-bin:
+ifeq ($(DEBUG), yes)
+	install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/bin/$(PROG)
+else
+	install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/bin/$(PROG)
+endif
+	$(MAKE) -C $(DIR_PLUGINS) install
+
+uninstall: uninstall-bin
+
+uninstall-bin:
+	rm -f $(PREFIX)/usr/bin/$(PROG)
+
 ifneq ($(MAKECMDGOALS),distclean)
 ifneq ($(MAKECMDGOALS),clean)
 ifneq ($(MAKECMDGOALS),uninstall)