Basic Makefiles

Probably needs work, but "make html" and "make clean" DTRT

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..d8f61f5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,21 @@
+
+
+SUBDIRS = XFS_Filesystem_Structure XFS_Labs XFS_User_Guide
+
+html:  $(addsuffix -html,$(SUBDIRS))
+html-single:  $(addsuffix -html-single,$(SUBDIRS))
+pdf:  $(addsuffix -pdf,$(SUBDIRS))
+
+clean: $(addsuffix -clean,$(SUBDIRS))
+
+%-html:
+	$(MAKE) -C $* publican-html
+
+%-html-single:
+	$(MAKE) -C $* publican-html-single
+
+%-pdf:
+	$(MAKE) -C $* publican-pdf
+
+%-clean:
+	$(MAKE) -C $* clean
diff --git a/XFS_Filesystem_Structure/Makefile b/XFS_Filesystem_Structure/Makefile
new file mode 100644
index 0000000..7cbf266
--- /dev/null
+++ b/XFS_Filesystem_Structure/Makefile
@@ -0,0 +1,7 @@
+
+
+publican-%:
+	publican build --formats=$* --langs=all
+
+clean:
+	publican clean
diff --git a/XFS_Labs/Makefile b/XFS_Labs/Makefile
new file mode 100644
index 0000000..7cbf266
--- /dev/null
+++ b/XFS_Labs/Makefile
@@ -0,0 +1,7 @@
+
+
+publican-%:
+	publican build --formats=$* --langs=all
+
+clean:
+	publican clean
diff --git a/XFS_User_Guide/Makefile b/XFS_User_Guide/Makefile
new file mode 100644
index 0000000..7cbf266
--- /dev/null
+++ b/XFS_User_Guide/Makefile
@@ -0,0 +1,7 @@
+
+
+publican-%:
+	publican build --formats=$* --langs=all
+
+clean:
+	publican clean