Merge pull request #14 from BBaoVanC/fix-make-xgetrootname

Fix `install: cannot stat 'xgetrootname': No such file or directory`
This commit is contained in:
Ashish Kumar Yadav 2020-12-24 14:20:06 +05:30 committed by GitHub
commit 0199791215
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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