X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile;h=eb7435a2d2682015872219b3cdb9bf58a4607fc3;hb=8dd3896b271776b3bd3b95067d1a7c75ed86c81b;hp=60056c94b14664b0c2b35112817cb4c691b6ba8a;hpb=323941282c6df0946f3c73ac9d8212f2cb0fd9e2;p=mp-sparql-moved-to-github.git diff --git a/Makefile b/Makefile index 60056c9..eb7435a 100644 --- a/Makefile +++ b/Makefile @@ -4,19 +4,25 @@ prefix = /usr datadir = $(prefix)/share pkgdatadir = $(datadir)/mp-sparql +CDEP=doc/common/common.ent + all: $(SUBDIRS) -$(SUBDIRS): +$(SUBDIRS): $(CDEP) $(MAKE) -C $@ -clean: +clean check: $(CDEP) for d in $(SUBDIRS); do \ $(MAKE) -C $$d $@; \ done install: mkdir -p $(DESTDIR)$(pkgdatadir)/bibframe - cp bibframe/*.xml $(DESTDIR)$(pkgdatadir)/bibframe + cp bibframe/cql2pqf.txt bibframe/*.xml $(DESTDIR)$(pkgdatadir)/bibframe for d in $(SUBDIRS); do \ $(MAKE) -C $$d $@; \ done + +$(CDEP): + git submodule init + git submodule update