>From 5c84063e205acd19867847d46b52298021a78be3 Mon Sep 17 00:00:00 2001
From: Job Bautista <[email protected]>
Date: Fri, 14 Aug 2020 17:38:55 +0800
Subject: [PATCH] Update Makefile

'make clean' now removes config.h
'make dist' should no longer exit with error code 1
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 6a175fa..68f65b2 100644
--- a/Makefile
+++ b/Makefile
@@ -33,12 +33,12 @@ ${BIN}: ${OBJ}
        ${CC} -o ${BIN} ${OBJ} ${SVKBD_LDFLAGS}
 

 clean:
-       rm -f ${NAME}-?? ${NAME}-??.o ${OBJ} ${BIN}
+       rm -f ${NAME}-?? ${NAME}-??.o ${OBJ} ${BIN} config.h
 

 dist:
        rm -rf "${NAME}-${VERSION}"
        mkdir -p "${NAME}-${VERSION}"
-       cp LICENSE Makefile README config.def.h config.mk ${MAN1} \
+       cp LICENSE Makefile README.md config.def.h config.mk ${MAN1} \
                ${SRC} ${NAME}-${VERSION}
        for i in layout.*.h; \
        do \
-- 

2.28.0

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to