summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorSébastien Hinderer <Sebastien.Hinderer@inria.fr>2017-03-27 07:38:40 +0200
committerSébastien Hinderer <Sebastien.Hinderer@inria.fr>2017-03-29 11:10:06 +0200
commiteef958007e91de215721c9f435090e1fbb0b3412 (patch)
tree37b2ea24b2c7bf40da4f2b4703a7a2c9e1c2a45a /man
parent5f161087ef5524c2acc77911f4b899265837f680 (diff)
downloadocaml-eef958007e91de215721c9f435090e1fbb0b3412.tar.gz
Build system: rename variables related to manual pages
Rename MANEXT (resp. LIB_MANEXT) to PROGRAMS_MAN_SECTION (resp. LIBRARIES_MAN_SECTION). Also get rid of a useless variable assignment in configure.
Diffstat (limited to 'man')
-rw-r--r--man/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/man/Makefile b/man/Makefile
index 7008b95138..06e6fa832a 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -15,13 +15,14 @@
include ../config/Makefile
-INSTALL_DIR=$(DESTDIR)$(MANDIR)/man$(MANEXT)
+INSTALL_DIR=$(DESTDIR)$(MANDIR)/man$(PROGRAMS_MAN_SECTION)
install:
- for i in *.m; do cp $$i $(INSTALL_DIR)/`basename $$i .m`.$(MANEXT); done
- echo '.so man$(MANEXT)/ocamlc.$(MANEXT)' \
- > $(INSTALL_DIR)/ocamlc.opt.$(MANEXT)
- echo '.so man$(MANEXT)/ocamlopt.$(MANEXT)' \
- > $(INSTALL_DIR)/ocamlopt.opt.$(MANEXT)
- echo '.so man$(MANEXT)/ocamlcp.$(MANEXT)' \
- > $(INSTALL_DIR)/ocamloptp.$(MANEXT)
+ for i in *.m; do cp \
+ $$i $(INSTALL_DIR)/`basename $$i .m`.$(PROGRAMS_MAN_SECTION); done
+ echo '.so man$(PROGRAMS_MAN_SECTION)/ocamlc.$(MANEXT)' \
+ > $(INSTALL_DIR)/ocamlc.opt.$(PROGRAMS_MAN_SECTION)
+ echo '.so man$(PROGRAMS_MAN_SECTION)/ocamlopt.$(MANEXT)' \
+ > $(INSTALL_DIR)/ocamlopt.opt.$(PROGRAMS_MAN_SECTION)
+ echo '.so man$(PROGRAMS_MAN_SECTION)/ocamlcp.$(MANEXT)' \
+ > $(INSTALL_DIR)/ocamloptp.$(PROGRAMS_MAN_SECTION)