File: Makefile

package info (click to toggle)
parmap 1.2.5-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 356 kB
  • sloc: ml: 1,329; ansic: 132; makefile: 21
file content (21 lines) | stat: -rw-r--r-- 439 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PREFIX_ARG := $(if $(PREFIX),--prefix $(PREFIX),)
LIBDIR_ARG := $(if $(LIBDIR),--libdir $(LIBDIR),)
DESTDIR_ARG := $(if $(DESTDIR),--destdir $(DESTDIR),)
INSTALL_ARGS := $(PREFIX_ARG) $(LIBDIR_ARG) $(DESTDIR_ARG)
DUNE_ARGS =
DUNE = dune

default:
	$(DUNE) build @install $(DUNE_ARGS)

install:
	$(DUNE) install $(INSTALL_ARGS) $(DUNE_ARGS)

test:
	$(DUNE) runtest $(DUNE_ARGS)

clean:
	$(DUNE) clean

doc:
	$(DUNE) build @doc $(DUNE_ARGS)