Skip to content
Snippets Groups Projects
Commit e3bf18b0 authored by Allan Blanchard's avatar Allan Blanchard
Browse files

[doc] manuals install

parent 80c2a988
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,6 @@ MAKECONFIG_DIR=$(FRAMAC_SRC)/share
include $(FRAMAC_SRC)/share/Makefile.common
DOCDIR ?= "$(DESTDIR)${prefix}/share/doc"
FRAMAC_DOCDIR ?= $(DOCDIR)/frama-c
.PHONY: .force
......
......@@ -159,9 +159,8 @@ include $(DOME)/template/makefile
# --- Ivette Installation
# --------------------------------------------------------------------------
INSTALLDIR?=/usr/local
BINDIR=$(INSTALLDIR)/bin
LIBDIR=$(INSTALLDIR)/lib
BINDIR=$(PREFIX)/bin
LIBDIR=$(PREFIX)/lib
dist-dir:
@echo "Cleaning dist"
......
......@@ -93,7 +93,7 @@ build: [
install: [
[make "INSTALLDIR=%{prefix}%" "install"]
[make "-C" "doc" "install"] {with-doc}
[make "PREFIX=%{prefix}%" "-C" "doc" "install"] {with-doc}
]
run-test: [
......
......@@ -32,6 +32,18 @@
PLATFORM:=$(shell uname -s)
#############
# Locations #
#############
# Note that Dune rules do NOT use these variables.
# They are used by other Makefiles
# - Ivette (PREFIX)
# - Manuals (DOCDIR)
PREFIX ?= /usr/local
DOCDIR ?= $(PREFIX)/share/doc
#############
# Verbosing #
#############
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment