check bindir existance before installing

This commit is contained in:
Alexandre Snarskii
2019-02-01 13:33:14 +03:00
parent 07246c929b
commit d092e8a9c3
+1
View File
@@ -30,6 +30,7 @@ clean:
rm -rf *.o *.core core.* core
install: bgpq3
if test ! -d @bindir@ ; then mkdir -p @bindir@ ; fi
${INSTALL} -c -s -m 755 bgpq3 @bindir@
if test ! -d @prefix@/man/man8 ; then mkdir -p @prefix@/man/man8 ; fi
${INSTALL} -m 644 bgpq3.8 @prefix@/man/man8