summaryrefslogtreecommitdiff
path: root/tools/Makefile.in
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-08 13:54:59 +0000
committerMartin Mares <mj@ucw.cz>2000-05-08 13:54:59 +0000
commitd8508f70b0325cd283bc1551c455cdc3aab011fe (patch)
treef3c4d499ce5a6b05720c4165556f125449a09d9a /tools/Makefile.in
parent93d6bf38a6c07b8281e11280d5cdbb721d19f7c8 (diff)
`make install' now works.
Diffstat (limited to 'tools/Makefile.in')
-rw-r--r--tools/Makefile.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in
index 5eb71835..a740b9bf 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -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