summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorsc2001-11-19 08:28:52 +0000
committersc2001-11-19 08:28:52 +0000
commit9cca9c1a117982ab7988548935693f6a9cfdd8ed (patch)
tree4990ab64f94fd6b4663c158d4153357650959961 /src/Makefile
parent81170d52ea4d929976ae171789efd37e2ca0c793 (diff)
downloadivyd-9cca9c1a117982ab7988548935693f6a9cfdd8ed.zip
ivyd-9cca9c1a117982ab7988548935693f6a9cfdd8ed.tar.gz
ivyd-9cca9c1a117982ab7988548935693f6a9cfdd8ed.tar.bz2
ivyd-9cca9c1a117982ab7988548935693f6a9cfdd8ed.tar.xz
Fixed install dir of in.ivyd
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 2f8b110..b535bfd 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,12 +1,12 @@
#
# IvyDaemon, an Ivy gateway for short-lived agents
#
-# Copyright (C) 1999
+# Copyright (C) 1999-2001
# Centre d'Études de la Navigation Aérienne
#
# Makefile
#
-# Author(s): Stephane Chatty <chatty@cenatoulouse.dgac.fr>
+# Author(s): Stephane Chatty <chatty@cena.fr>
#
# $Id$
#
@@ -15,6 +15,7 @@
#
#
BIN = $(PREFIX)/usr/bin
+SBIN = $(PREFIX)/usr/sbin
MAN = $(PREFIX)/usr/man
INCDIRS =
@@ -45,8 +46,9 @@ clean:
-rm -f *.o *~ $(PROGS)
install: all
+ test -d $(SBIN) || mkdirhier $(SBIN)
+ install -m 755 in.ivyd $(SBIN)/in.ivyd
test -d $(BIN) || mkdirhier $(BIN)
- install -m 755 in.ivyd $(BIN)/in.ivyd
install -m 755 ivyd $(BIN)/ivyd
install -m 755 ivyecho $(BIN)/ivyecho
test -d $(MAN)/man1 || mkdirhier $(MAN)/man1