forked from openpmix/openpmix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.pmix-rules
42 lines (35 loc) · 1.38 KB
/
Makefile.pmix-rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# -*- makefile -*-
# Copyright (c) 2008-2020 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved.
# Copyright (c) 2019 Intel, Inc. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
MD2NROFF = $(PMIX_TOP_SRCDIR)/config/md2nroff.pl
%.1: %.1.md
$(PMIX_V_GEN) $(MD2NROFF) --source=$< --dest=$@ --pandoc=$(PANDOC)
# It is an error to "configure --disable-man-pages" and then try to
# "make dist".
if !PMIX_ENABLE_MAN_PAGES
dist-hook:
@echo "************************************************************************************"
@echo "ERROR: 'make dist' inoperable when Open PMIx is configured with --disable-man-pages"
@echo "************************************************************************************"
@/bin/false
endif
# A little verbosity magic; "make" will show the terse output. "make
# V=1" will show the actual commands used (just like the other
# Automake-generated compilation/linker rules).
V=0
PMIX_V_LN_S = $(pmix__v_LN_S_$V)
pmix__v_LN_S_ = $(pmix__v_LN_S_$AM_DEFAULT_VERBOSITY)
pmix__v_LN_S_0 = @echo " LN_S " `basename $@`;
PMIX_V_MKDIR = $(pmix__v_MKDIR_$V)
pmix__v_MKDIR_ = $(pmix__v_MKDIR_$AM_DEFAULT_VERBOSITY)
pmix__v_MKDIR_0 = @echo " MKDIR " $@;
PMIX_V_GEN = $(pmix__v_GEN_$V)
pmix__v_GEN_ = $(pmix__v_GEN_$AM_DEFAULT_VERBOSITY)
pmix__v_GEN_0 = @echo " GENERATE" $@;