forked from spook/sshping
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (19 loc) · 697 Bytes
/
Makefile
File metadata and controls
27 lines (19 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# See https://github.com/spook/sshping
.PHONY=default sshping man
default: sshping
sshping: bin/sshping
bin/sshping: src/sshping.cxx /usr/include/libssh/libssh.h
g++ -Wall -I ext/ -o bin/sshping src/sshping.cxx -lssh
/usr/include/libssh/libssh.h:
echo '*** Please install libssh-dev, libssh-devel, or similar package'
exit 2
man: doc/sshping.8.gz
doc/sshping.8.gz: doc/sshping.8
gzip -9cn $< > $@
doc/sshping.8: doc/sshping.pod
if command -v pod2man &> /dev/null; then \
pod2man --section=8 -c "ssh-based ping test utility" -d 2018-03-13 -r v0.1.4 doc/sshping.pod doc/sshping.8; \
else \
echo '*** Please install pod2man so that we can create the man page'; \
exit 2; \
fi