diff options
| author | Sébastien Hinderer <Sebastien.Hinderer@inria.fr> | 2017-03-27 07:38:40 +0200 |
|---|---|---|
| committer | Sébastien Hinderer <Sebastien.Hinderer@inria.fr> | 2017-03-29 11:10:06 +0200 |
| commit | eef958007e91de215721c9f435090e1fbb0b3412 (patch) | |
| tree | 37b2ea24b2c7bf40da4f2b4703a7a2c9e1c2a45a /man | |
| parent | 5f161087ef5524c2acc77911f4b899265837f680 (diff) | |
| download | ocaml-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/Makefile | 17 |
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) |
