aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2022-12-01 22:39:37 -0600
committerAlexander M Pickering <alex@cogarr.net>2022-12-01 22:39:37 -0600
commit4aa7de89c5ffc4818abc80bd67b453d8ba15d639 (patch)
treea8e918e88b5043a41d610537a0953529c25ef429
parent63fb7070e3f6362444b1c76ce55966c31bab9067 (diff)
downloadbrokengine-4aa7de89c5ffc4818abc80bd67b453d8ba15d639.tar.gz
brokengine-4aa7de89c5ffc4818abc80bd67b453d8ba15d639.tar.bz2
brokengine-4aa7de89c5ffc4818abc80bd67b453d8ba15d639.zip
Add documentation building for linux
-rw-r--r--Makefile.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.nix b/Makefile.nix
index e70286d..a4a4503 100644
--- a/Makefile.nix
+++ b/Makefile.nix
@@ -37,6 +37,11 @@ CLIENT_LIBS=\
-lLinearMath\
-lnng\
+doc: documentation
+
+documentation:
+ $(MDOC) -p src -o doc -t "Brok[en]gine" -i README.md -d reference -m "Markdown"
+
bin/client/bin/brokengine_client : $(client_objs) $(shared_objs)
$(CXX) $(LDFLAGS) -o $@ $^ $(CLIENT_LIB_DIRS) $(CLIENT_LIBS)