Fix install: cannot stat 'xgetrootname': No such file or directory
This commit is contained in:
parent
db238a6ce7
commit
458fd54805
|
@ -6,7 +6,7 @@ CFLAGS := -O3 -Wall -Wextra
|
||||||
X11CFLAGS := $(shell pkg-config --cflags x11)
|
X11CFLAGS := $(shell pkg-config --cflags x11)
|
||||||
X11LIBS := $(shell pkg-config --libs x11)
|
X11LIBS := $(shell pkg-config --libs x11)
|
||||||
|
|
||||||
all: dwmblocks sigdwmblocks
|
all: dwmblocks sigdwmblocks xgetrootname
|
||||||
|
|
||||||
dwmblocks: dwmblocks.c blocks.h
|
dwmblocks: dwmblocks.c blocks.h
|
||||||
${CC} -o $@ -Wno-missing-field-initializers -Wno-unused-parameter ${CFLAGS} ${X11CFLAGS} $< ${X11LIBS}
|
${CC} -o $@ -Wno-missing-field-initializers -Wno-unused-parameter ${CFLAGS} ${X11CFLAGS} $< ${X11LIBS}
|
||||||
|
@ -18,7 +18,7 @@ xgetrootname: xgetrootname.c
|
||||||
${CC} -o $@ ${CFLAGS} ${X11CFLAGS} $< ${X11LIBS}
|
${CC} -o $@ ${CFLAGS} ${X11CFLAGS} $< ${X11LIBS}
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f dwmblocks sigdwmblocks
|
rm -f dwmblocks sigdwmblocks xgetrootname
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
mkdir -p ${DESTDIR}${PREFIX}/bin
|
mkdir -p ${DESTDIR}${PREFIX}/bin
|
||||||
|
|
Loading…
Reference in a new issue