add dist to makefile
This commit is contained in:
parent
003db33212
commit
d4c90374ff
11
Makefile
11
Makefile
|
@ -1,6 +1,6 @@
|
||||||
# dwm - dynamic window manager
|
# dwm - dynamic window manager
|
||||||
# See LICENSE file for copyright and license details.
|
# See LICENSE file for copyright and license details.
|
||||||
.PHONY: all clean install uninstall
|
.PHONY: all submodule clean dist install uninstall
|
||||||
|
|
||||||
include config.mk
|
include config.mk
|
||||||
|
|
||||||
|
@ -22,8 +22,6 @@ ${SRC}: buildroot
|
||||||
|
|
||||||
${OBJ}: config.h config.mk
|
${OBJ}: config.h config.mk
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
dwm: ${OBJ}
|
dwm: ${OBJ}
|
||||||
${CC} -o $@ ${OBJ} ${LDFLAGS}
|
${CC} -o $@ ${OBJ} ${LDFLAGS}
|
||||||
|
|
||||||
|
@ -33,6 +31,13 @@ clean:
|
||||||
git -C dwm-flexipatch reset --hard HEAD
|
git -C dwm-flexipatch reset --hard HEAD
|
||||||
git -C dwm-flexipatch clean -ffdx
|
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:
|
||||||
cp config/patches.h dwm-flexipatch/patches.h
|
cp config/patches.h dwm-flexipatch/patches.h
|
||||||
flexipatch-finalizer/flexipatch-finalizer.sh -r -d dwm-flexipatch -o tmp
|
flexipatch-finalizer/flexipatch-finalizer.sh -r -d dwm-flexipatch -o tmp
|
||||||
|
|
Loading…
Reference in New Issue