treesummaryrefslogcommitdiff
path: root/Makefile
blob: da3a95bb58dd76bb2f5711a4ff150d11c2676b7d (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
# The default target of this Makefile is...
all::

# Import tree-wide shared Makefile behavior and libraries
include shared.mak

# "Sub"-Makefiles, not really because they can't be run stand-alone,
# only there to contain directory-specific rules and variables
## gitweb/Makefile inclusion:
MAK_DIR_GITWEB = gitweb/
include gitweb/Makefile

ifndef PERL_PATH
	PERL_PATH = /usr/bin/perl
endif
PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))

export PERL_PATH

.PHONY: gitweb
gitweb: $(MAK_DIR_GITWEB_ALL)
ifndef NO_GITWEB
all:: gitweb
endif