Revision d8508f70

View differences:

tools/Makefile-top.in
3 3

  
4 4
objdir=@objdir@
5 5

  
6
all depend tags docs userdocs progdocs:
6
all depend tags docs userdocs progdocs install:
7 7
	$(MAKE) -C $(objdir) $@
8 8

  
9 9
clean:
tools/Makefile.in
37 37
tags:
38 38
	cd $(srcdir) ; etags -lc `find $(static-dirs) $(addprefix $(objdir)/,$(dynamic-dirs)) $(client-dirs) -name *.[chY]`
39 39

  
40
install: all
41
	$(INSTALL) -d $(sbindir) $(sysconfdir)
42
	$(INSTALL_PROGRAM) -s $(exedir)/bird $(sbindir)/
43
	if test -n "@CLIENT@" ; then								\
44
		$(INSTALL_PROGRAM) -s $(exedir)/birdc $(sbindir)/ ;				\
45
	fi
46
	if ! test -f $(sysconfdir)/bird.conf ; then						\
47
		$(INSTALL_DATA) $(srcdir)/doc/bird.conf.example $(sysconfdir)/bird.conf ;	\
48
	else											\
49
		echo "Not overwriting old bird.conf" ;						\
50
	fi
51

  
40 52
clean:
41 53
	find . -name "*.[oa]" -o -name core -o -name depend -o -name "*.html" | xargs rm -f
42 54
	rm -f $(exedir)/bird $(exedir)/birdc $(exedir)/bird.ctl .dep-stamp
tools/Rules.in
29 29
BISON=@BISON@
30 30
FLEX=@FLEX@
31 31
RANLIB=@RANLIB@
32
INSTALL=@INSTALL@
33
INSTALL_PROGRAM=@INSTALL_PROGRAM@
34
INSTALL_DATA=@INSTALL_DATA@
35

  
36
prefix=@prefix@
37
exec_prefix=@exec_prefix@
38
bindir=@bindir@
39
sbindir=@sbindir@
40
sysconfdir=@sysconfdir@
32 41

  
33 42
ifdef source
34 43

  

Also available in: Unified diff