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