"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Garbage-collect dist target in */Makefile
To:
gameoftrees@openbsd.org
Date:
Mon, 27 Sep 2021 12:29:01 +0200

Download raw body.

Thread
There is a "dist" target in got/Makefile that doesn't appear to
have any use.  This was also copied to gotadmin/Makefile.  None
of the other subdirectory Makefiles have such a target.

OK to remove?

diff 5c02d2a555dc01ac06db5a47b8c81adf2bf3f8a6 /home/naddy/got
blob - a53d25848b09acd89ddfa729b2104f4145517095
file + got/Makefile
--- got/Makefile
+++ got/Makefile
@@ -33,8 +33,4 @@ realinstall:
 	${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
 	-m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
 
-dist:
-	mkdir ../got-${GOT_VERSION}/got
-	cp ${SRCS} ${MAN} ../got-${GOT_VERSION}/got
-
 .include <bsd.prog.mk>
blob - fa31072bce1bf22d8516963a6d472bf2f45cfea1
file + gotadmin/Makefile
--- gotadmin/Makefile
+++ gotadmin/Makefile
@@ -28,8 +28,4 @@ realinstall:
 	${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
 	-m ${BINMODE} ${PROG} ${BINDIR}/${PROG}
 
-dist:
-	mkdir ../got-${GOT_VERSION}/${PROG}
-	cp ${SRCS} ${MAN} ../got-${GOT_VERSION}/${PROG}
-
 .include <bsd.prog.mk>
-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de