summaryrefslogtreecommitdiff
path: root/main.mk
blob: 80d6c0ea9dbbbc6ae77e0aca290e2a6b70d5265c (plain)
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
.sinclude "cheusov_local_settings.mk" # for debugging

##################################################
SUBPRJ_DFLT =   custom helpers mk scripts
SUBPRJ      =	examples tests doc presentation ${SUBPRJ_DFLT}

##################################################
SHRTOUT =		yes

PROJECTNAME =		mk-configure

#
NOEXPORT_VARNAMES =	MKC_CACHEDIR

DIST_TARGETS =		pdf clean-mk clean-scripts mkc_clean

INSTALL      =		${.CURDIR}/scripts/mkc_install
PATH        :=		${OBJDIR_custom}:${OBJDIR_helpers}:${.CURDIR}/helpers:${OBJDIR_scripts}:${.CURDIR}/scripts:${PATH}

.export SHRTOUT INSTALL PATH

##################################################
.PHONY: pdf
pdf: all-presentation
pdf:
	@set -e; cd presentation; \
	${MAKE} ${MAKEFLAGS} clean-garbage; \
	rm -f myprojects.*

##################################################
cleandir:	cleandir-tests cleandir-presentation
clean:		clean-tests clean-presentation
test:		test-tests

##################################################
.include "Makefile.inc"
.include <mkc.mk>