aboutsummaryrefslogtreecommitdiff
path: root/doc/Manual/ru/Makefile
diff options
context:
space:
mode:
authorMikhail Romanko <me@blankhex.com>2025-06-21 21:17:27 +0300
committerMikhail Romanko <me@blankhex.com>2025-06-21 21:17:27 +0300
commit7662c3e32bc621b2ad24c94d4282960638eab4c3 (patch)
tree345534a01c7c3ae993f535803fa763994ac8fc6c /doc/Manual/ru/Makefile
parentfc774fd0ff6d06ceed25c5b8ba8a0d58cb77e52b (diff)
downloadbhlib-7662c3e32bc621b2ad24c94d4282960638eab4c3.tar.gz
Add Makefiles to build binaries and docs
Diffstat (limited to 'doc/Manual/ru/Makefile')
-rw-r--r--doc/Manual/ru/Makefile70
1 files changed, 70 insertions, 0 deletions
diff --git a/doc/Manual/ru/Makefile b/doc/Manual/ru/Makefile
new file mode 100644
index 0000000..c42065a
--- /dev/null
+++ b/doc/Manual/ru/Makefile
@@ -0,0 +1,70 @@
+POD2HTML = pod2html
+POD2MAN = pod2man
+
+HTMLS = BH_Algo.html \
+ BH_Args.html \
+ BH_Box2f.html \
+ BH_Box3f.html \
+ BH_Hashmap.html \
+ BH_IO.html \
+ BH_Line.html \
+ BH_Mat3f.html \
+ BH_Mat4f.html \
+ BH_Math.html \
+ BH_Plane.html \
+ BH_Quat.html \
+ BH_Queue.html \
+ BH_Ray2f.html \
+ BH_Ray3f.html \
+ BH_String.html \
+ BH_Thread.html \
+ BH_Unicode.html \
+ BH_Util.html \
+ BH_Vec2f.html \
+ BH_Vec2i.html \
+ BH_Vec3f.html \
+ BH_Vec3i.html \
+ BH_Vec4f.html \
+ BH_Vec4i.html
+
+MANS = BH_Algo.3 \
+ BH_Args.3 \
+ BH_Box2f.3 \
+ BH_Box3f.3 \
+ BH_Hashmap.3 \
+ BH_IO.3 \
+ BH_Line.3 \
+ BH_Mat3f.3 \
+ BH_Mat4f.3 \
+ BH_Math.3 \
+ BH_Plane.3 \
+ BH_Quat.3 \
+ BH_Queue.3 \
+ BH_Ray2f.3 \
+ BH_Ray3f.3 \
+ BH_String.3 \
+ BH_Thread.3 \
+ BH_Unicode.3 \
+ BH_Util.3 \
+ BH_Vec2f.3 \
+ BH_Vec2i.3 \
+ BH_Vec3f.3 \
+ BH_Vec3i.3 \
+ BH_Vec4f.3 \
+ BH_Vec4i.3
+
+all: $(MANS) $(HTMLS)
+
+%.3: %.pod
+ $(POD2MAN) -c "BHLib" -s 3 -r "0.1.0" $< $@
+
+%.html: %.pod
+ $(POD2HTML) --css ../style.css --htmlroot=. --podpath=. $< --outfile $@
+
+dist: $(MANS) $(HTMLS)
+ zip html.zip $(HTMLS)
+ zip man.zip $(MANS)
+
+clean:
+ -rm -f $(MANS) $(HTMLS) pod2htmd.tmp man.zip html.zip
+