diff options
author | Eric Sandeen <sandeen@redhat.com> | 2010-03-10 18:49:47 -0600 |
---|---|---|
committer | Eric Sandeen <sandeen@redhat.com> | 2010-03-10 18:49:47 -0600 |
commit | 250d90f8255280ccef1cb4a97cf50caaca9facb3 (patch) | |
tree | 30fae4b52d99c8e2ed3a317ed1aaf8fe14697557 | |
parent | c9bb5e83b3ddf13449cf82eeebcdbf20f742b3cc (diff) | |
download | xfsdocs-xml-dev-250d90f8255280ccef1cb4a97cf50caaca9facb3.tar.gz |
Basic Makefiles
Probably needs work, but "make html" and "make clean" DTRT
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
-rw-r--r-- | Makefile | 21 | ||||
-rw-r--r-- | XFS_Filesystem_Structure/Makefile | 7 | ||||
-rw-r--r-- | XFS_Labs/Makefile | 7 | ||||
-rw-r--r-- | XFS_User_Guide/Makefile | 7 |
4 files changed, 42 insertions, 0 deletions
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 |