Skip to content
Snippets Groups Projects
documentation 805 B
Newer Older
  • Learn to ignore specific revisions
  • # -*- Makefile -*-
    # $Id: global-rules 5267 2008-09-10 10:45:42Z christi $
    
    maintainer-clean-local: doc-clean
    
    doc-am: doc-local
    
    doc-local:
    
    doc-clean:
    	rm -f $(DOCFILES)
    
    doc: doc-recursive
    
    doc-recursive:
    	@set fnord $$MAKEFLAGS; amf=$$2; \
    	dot_seen=no; \
    	target=`echo $@ | sed s/-recursive//`; \
    	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
    	  echo "Making $$target in $(subdir)/$$subdir"; \
    	  if test "$$subdir" = "."; then \
    	    dot_seen=yes; \
    	    local_target="$$target-am"; \
    	  else \
    	    local_target="$$target"; \
    	  fi; \
    	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
    	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
    	done; \
    	if test "$$dot_seen" = "no"; then \
    	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
    	fi; test -z "$$fail"