From: Ilias Tsitsimpis <iliastsi@debian.org>
Date: Mon, 2 Jan 2023 12:17:02 +0200
Subject: Do not install the xembed executable

Do not install the xembed executable, since the executable name is too
generic. If we want to keep this binary, we should consider renaming it.
---
 tabbed/Makefile | 7 +------
 tabbed/tabbed.1 | 1 -
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/tabbed/Makefile b/tabbed/Makefile
index 35ea321..37c9974 100644
--- a/tabbed/Makefile
+++ b/tabbed/Makefile
@@ -4,7 +4,7 @@
 include config.mk
 
 SRC = tabbed.c xembed.c
-OBJ = tabbed.default.o tabbed.meta.o xembed.o
+OBJ = tabbed.default.o tabbed.meta.o
 BIN = ${OBJ:.o=}
 
 all: options ${BIN}
@@ -60,21 +60,16 @@ install: all
 	@cp -f ${BIN} "${DESTDIR}${PREFIX}/bin"
 	@chmod 755 "${DESTDIR}${PREFIX}/bin/tabbed.meta"
 	@chmod 755 "${DESTDIR}${PREFIX}/bin/tabbed.default"
-	@chmod 755 "${DESTDIR}${PREFIX}/bin/xembed"
 	@echo installing manual pages to ${DESTDIR}${MANPREFIX}/man1
 	@mkdir -p "${DESTDIR}${MANPREFIX}/man1"
 	@sed "s/VERSION/${VERSION}/g" < tabbed.1 > "${DESTDIR}${MANPREFIX}/man1/tabbed.1"
 	@chmod 644 "${DESTDIR}${MANPREFIX}/man1/tabbed.1"
-	@sed "s/VERSION/${VERSION}/g" < xembed.1 > "${DESTDIR}${MANPREFIX}/man1/xembed.1"
-	@chmod 644 "${DESTDIR}${MANPREFIX}/man1/xembed.1"
 
 uninstall:
 	@echo removing executable files from ${DESTDIR}${PREFIX}/bin
 	@rm -f "${DESTDIR}${PREFIX}/bin/tabbed.meta"
 	@rm -f "${DESTDIR}${PREFIX}/bin/tabbed.default"
-	@rm -f "${DESTDIR}${PREFIX}/bin/xembed"
 	@echo removing manual pages from ${DESTDIR}${MANPREFIX}/man1
 	@rm -f "${DESTDIR}${MANPREFIX}/man1/tabbed.1"
-	@rm -f "${DESTDIR}${MANPREFIX}/man1/xembed.1"
 
 .PHONY: all options clean dist install uninstall
diff --git a/tabbed/tabbed.1 b/tabbed/tabbed.1
index 9848f22..fbf5899 100644
--- a/tabbed/tabbed.1
+++ b/tabbed/tabbed.1
@@ -171,6 +171,5 @@ See the LICENSE file for the authors.
 See the LICENSE file for the terms of redistribution.
 .SH SEE ALSO
 .BR st (1),
-.BR xembed (1)
 .SH BUGS
 Please report them.
