27a087ac3d
The `install' target was missing the existence of a compiled executable in the directory as a dependency, it's been added.
23 lines
499 B
Makefile
23 lines
499 B
Makefile
CFLAGS = -g -Wall
|
|
|
|
timeoutd: timeoutd.c
|
|
$(CC) $(CFLAGS) -o timeoutd.o -c timeoutd.c -DTIMEOUTDX11
|
|
$(CC) $(CFLAGS) -o timeoutd timeoutd.o -lX11 -lXss
|
|
|
|
clean:
|
|
-rm -f timeoutd timeoutd.o
|
|
|
|
install: timeoutd /etc/timeouts
|
|
install timeoutd /usr/sbin/timeoutd
|
|
install timeoutd.8 /usr/share/man/man8
|
|
install timeouts.5 /usr/share/man/man5
|
|
|
|
uninstall:
|
|
rm /usr/sbin/timeoutd
|
|
rm /usr/share/man/man8/timeoutd.8
|
|
rm /usr/share/man/man5/timeouts.5
|
|
rm /etc/timeouts
|
|
|
|
/etc/timeouts:
|
|
install timeouts /etc
|