add dist to makefile
This commit is contained in:
parent
003db33212
commit
d4c90374ff
1 changed files with 8 additions and 3 deletions
11
Makefile
11
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
|
||||
|
|
Loading…
Add table
Reference in a new issue