diff --git a/Makefile b/Makefile
index 519d052..10de8bd 100644
--- a/Makefile
+++ b/Makefile
@@ -25,20 +25,16 @@ ${OBJ}: config.h config.mk
 dwm: ${OBJ}
 	${CC} -o $@ ${OBJ} ${LDFLAGS}
 
+submodule:
+	git submodule update --init
+
 clean:
 	find . -maxdepth 1 -type f  | grep -Pv "^\./\.|Makefile$$" | xargs -r rm
 	rm -r tmp patch 2>/dev/null || true
 	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:
+buildroot: submodule
 	cp config/patches.h dwm-flexipatch/patches.h
 	flexipatch-finalizer/flexipatch-finalizer.sh -r -d dwm-flexipatch -o tmp
 	rm -r tmp/Makefile tmp/config.mk patch 2>/dev/null || true