From d4c90374ff716b6241b19cb4e6984a6aade8055a Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Wed, 22 May 2024 15:48:50 +0200 Subject: [PATCH] add dist to makefile --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 094976a..519d052 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # dwm - dynamic window manager # See LICENSE file for copyright and license details. -.PHONY: all clean install uninstall +.PHONY: all submodule clean dist install uninstall include config.mk @@ -22,8 +22,6 @@ ${SRC}: buildroot ${OBJ}: config.h config.mk - - dwm: ${OBJ} ${CC} -o $@ ${OBJ} ${LDFLAGS} @@ -33,6 +31,13 @@ clean: git -C dwm-flexipatch reset --hard HEAD git -C dwm-flexipatch clean -ffdx +dist: clean + mkdir -p dwm + cp -R config dwm-flexipatch flexipatch-finalizer Makefile dwm + tar -cf dwm.tar dwm + gzip dwm.tar + rm -rf dwm + buildroot: cp config/patches.h dwm-flexipatch/patches.h flexipatch-finalizer/flexipatch-finalizer.sh -r -d dwm-flexipatch -o tmp