Revision b1777248 tools/Makefile.in

View differences:

tools/Makefile.in
3 3

  
4 4
include Rules
5 5

  
6
srcdir_abs := $(shell cd $(srcdir) ; pwd)
7

  
8
.PHONY: all daemon client subdir depend clean distclean tags
6
.PHONY: all daemon client subdir depend clean distclean tags docs userdocs progdocs
9 7

  
10 8
all: .dep-stamp subdir daemon @CLIENT@
11 9

  
......
24 22
	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS) $(CLIENT_LIBS)
25 23

  
26 24
.dir-stamp:
27
	mkdir -p $(static-dirs) $(client-dirs)
25
	mkdir -p $(static-dirs) $(client-dirs) $(doc-dirs)
28 26
	touch .dir-stamp
29 27

  
30 28
.dep-stamp:
31 29
	$(MAKE) depend
32 30
	touch .dep-stamp
33 31

  
32
docs: userdocs progdocs
33

  
34
userdocs progdocs: .dir-stamp
35
	$(MAKE) -C doc -f $(srcdir_abs)/doc/Makefile $@
36

  
34 37
tags:
35 38
	cd $(srcdir) ; etags -lc `find $(static-dirs) $(addprefix $(objdir)/,$(dynamic-dirs)) $(client-dirs) -name *.[chY]`
36 39

  
37 40
clean:
38
	find . -name "*.[oa]" -or -name core -or -name depend | xargs rm -f
41
	find . -name "*.[oa]" -o -name core -o -name depend -o -name "*.html" | xargs rm -f
39 42
	rm -f $(exedir)/bird $(exedir)/birdc $(exedir)/bird.ctl .dep-stamp
40 43

  
41 44
distclean: clean

Also available in: Unified diff