0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-21 09:11:54 +00:00

`make install' now works.

This commit is contained in:
Martin Mares 2000-05-08 13:54:59 +00:00
parent 93d6bf38a6
commit d8508f70b0
3 changed files with 22 additions and 1 deletions

View File

@ -3,7 +3,7 @@
objdir=@objdir@
all depend tags docs userdocs progdocs:
all depend tags docs userdocs progdocs install:
$(MAKE) -C $(objdir) $@
clean:

View File

@ -37,6 +37,18 @@ userdocs progdocs: .dir-stamp
tags:
cd $(srcdir) ; etags -lc `find $(static-dirs) $(addprefix $(objdir)/,$(dynamic-dirs)) $(client-dirs) -name *.[chY]`
install: all
$(INSTALL) -d $(sbindir) $(sysconfdir)
$(INSTALL_PROGRAM) -s $(exedir)/bird $(sbindir)/
if test -n "@CLIENT@" ; then \
$(INSTALL_PROGRAM) -s $(exedir)/birdc $(sbindir)/ ; \
fi
if ! test -f $(sysconfdir)/bird.conf ; then \
$(INSTALL_DATA) $(srcdir)/doc/bird.conf.example $(sysconfdir)/bird.conf ; \
else \
echo "Not overwriting old bird.conf" ; \
fi
clean:
find . -name "*.[oa]" -o -name core -o -name depend -o -name "*.html" | xargs rm -f
rm -f $(exedir)/bird $(exedir)/birdc $(exedir)/bird.ctl .dep-stamp

View File

@ -29,6 +29,15 @@ M4=@M4@
BISON=@BISON@
FLEX=@FLEX@
RANLIB=@RANLIB@
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DATA=@INSTALL_DATA@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
sysconfdir=@sysconfdir@
ifdef source