X-Git-Url: http://git.indexdata.com/?p=mp-xquery-moved-to-github.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=bbe34d8933d90b26fbf0cd6d464f8774b0871811;hp=d55a3096fe0b99c590026a58e3f004165f519fe7;hb=b335d52a8220fc3623545f622aff883f1fbb77bd;hpb=7823b20dbec0f8f8cb42948b5b06398d2ab33799 diff --git a/Makefile b/Makefile index d55a309..bbe34d8 100644 --- a/Makefile +++ b/Makefile @@ -3,14 +3,16 @@ SUBDIRS = src doc all: $(SUBDIRS) -$(SUBDIRS): doc/common +CDEP=doc/common/common.ent + +$(SUBDIRS): $(CDEP) $(MAKE) -C $@ -clean install: doc/common +clean install: $(CDEP) for d in $(SUBDIRS); do \ $(MAKE) -C $$d $@; \ done -doc/common: +$(CDEP): git submodule init git submodule update