git: 7da17aa010 - main - build: add a top-level Makefile to drive the build

Kyle Evans <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by kevans (ports, src committer):

URL: https://cgit.FreeBSD.org/doc/commit/?id=7da17aa0103a3091059cb0a4e865d38dd3f374e9

commit 7da17aa0103a3091059cb0a4e865d38dd3f374e9
Author:     Kyle Evans <[email protected]>
AuthorDate: 2021-01-27 16:18:13 +0000
Commit:     Kyle Evans <[email protected]>
CommitDate: 2021-01-29 03:15:10 +0000

    build: add a top-level Makefile to drive the build
    
    Some consumers may be interested in building the whole enchilada. Add a top
    level Makefile to make that feasible.
    
    Both the documentation and website build can run in parallel, and one only
    needs to run either the all or generate targets from the top level.
    
    Reviewed-by:    gjb, hrs
    Differential-Revision:  https://reviews.freebsd.org/D28385
---
 Makefile | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..699f314739
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,21 @@
+#
+# This file is intended to drive the build of the entire doc tree.  In order to
+# build both the documentation and the website, one only need to execute:
+#
+# make all
+#
+# Here at the top-level of the repository.  The same target may be executed in
+# the individual directories to build just the documentation or just the
+# website.
+#
+# Note that the Makefiles within the individual components may also be used to
+# spin up hugo's internal webserver for testing, by default on port 1313.  This
+# can be done with the `run` target.
+#
+
+SUBDIR+=	documentation
+SUBDIR+=	website
+
+SUBDIR_PARALLEL=	yes
+
+.include <bsd.subdir.mk>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.