Improved handling of default blocks
This commit is contained in:
parent
8a53fe0d4f
commit
6bc088c80e
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
blocks
|
||||
config.h
|
||||
dwmblocks
|
||||
sigdwmblocks/sigdwmblocks
|
||||
|
|
|
@ -8,9 +8,12 @@ X11LIBS = $(shell pkg-config --libs x11)
|
|||
|
||||
all: dwmblocks sigdwmblocks/sigdwmblocks xgetrootname/xgetrootname
|
||||
|
||||
dwmblocks: dwmblocks.c config.h block.h
|
||||
dwmblocks: dwmblocks.c blocks config.h block.h
|
||||
${CC} -o $@ -Wno-missing-field-initializers -Wno-unused-parameter ${CFLAGS} ${X11CFLAGS} $< ${X11LIBS}
|
||||
|
||||
blocks:
|
||||
cp -r blocks.def $@
|
||||
|
||||
E0BLOCKS = $(abspath blocks)
|
||||
# two level escaping of `\', one for sed and one for C
|
||||
E1BLOCKS = $(subst \,\\\\,${E0BLOCKS})
|
||||
|
|
Loading…
Reference in a new issue