Fix install: cannot stat 'xgetrootname': No such file or directory

This commit is contained in:
BBaoVanC 2020-12-24 00:25:59 -06:00
parent db238a6ce7
commit 458fd54805
No known key found for this signature in database
GPG key ID: 18089E4E3CCF1D3A

View file

@ -6,7 +6,7 @@ CFLAGS := -O3 -Wall -Wextra
X11CFLAGS := $(shell pkg-config --cflags x11)
X11LIBS := $(shell pkg-config --libs x11)
all: dwmblocks sigdwmblocks
all: dwmblocks sigdwmblocks xgetrootname
dwmblocks: dwmblocks.c blocks.h
${CC} -o $@ -Wno-missing-field-initializers -Wno-unused-parameter ${CFLAGS} ${X11CFLAGS} $< ${X11LIBS}
@ -18,7 +18,7 @@ xgetrootname: xgetrootname.c
${CC} -o $@ ${CFLAGS} ${X11CFLAGS} $< ${X11LIBS}
clean:
rm -f dwmblocks sigdwmblocks
rm -f dwmblocks sigdwmblocks xgetrootname
install: all
mkdir -p ${DESTDIR}${PREFIX}/bin