]> gitweb.ps.run Git - ps-gitweb/blob - Makefile
fix perl shebang
[ps-gitweb] / Makefile
1 # The default target of this Makefile is...
2 all::
3
4 # Import tree-wide shared Makefile behavior and libraries
5 include shared.mak
6
7 # "Sub"-Makefiles, not really because they can't be run stand-alone,
8 # only there to contain directory-specific rules and variables
9 ## gitweb/Makefile inclusion:
10 MAK_DIR_GITWEB = gitweb/
11 include gitweb/Makefile
12
13 ifndef PERL_PATH
14         PERL_PATH = /usr/bin/perl
15 endif
16 PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))
17
18 export PERL_PATH
19
20 .PHONY: gitweb
21 gitweb: $(MAK_DIR_GITWEB_ALL)
22 ifndef NO_GITWEB
23 all:: gitweb
24 endif
25