Add doc/common
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 21 May 2015 09:09:19 +0000 (11:09 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 21 May 2015 09:09:19 +0000 (11:09 +0200)
.gitmodules [new file with mode: 0644]
Makefile
doc/common [new submodule]

diff --git a/.gitmodules b/.gitmodules
new file mode 100644 (file)
index 0000000..fa48b77
--- /dev/null
@@ -0,0 +1,3 @@
+[submodule "doc/common"]
+       path = doc/common
+       url = git://git.indexdata.com/id-docbook-common
index a3fb177..d55a309 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,14 @@ SUBDIRS = src doc
 
 all: $(SUBDIRS)
 
-$(SUBDIRS):
+$(SUBDIRS): doc/common
        $(MAKE) -C $@
 
-clean install:
+clean install: doc/common
        for d in $(SUBDIRS); do \
                $(MAKE) -C $$d $@; \
        done
+
+doc/common:
+       git submodule init
+       git submodule update
diff --git a/doc/common b/doc/common
new file mode 160000 (submodule)
index 0000000..790930a
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 790930ae30e7d12e02a512a109fc40c82675df20