File: Makefile

package info (click to toggle)
yaws 1.65-4etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 4,164 kB
  • ctags: 3,907
  • sloc: erlang: 20,138; sh: 3,675; makefile: 556; ansic: 404; lisp: 79
file content (55 lines) | stat: -rw-r--r-- 1,394 bytes parent folder | download | duplicates (2)
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
43
44
45
46
47
48
49
50
51
52
53
54
55

SUBDIRS	=	c_src src man www/shopingcart www/code doc scripts
include ./include.mk
include ./vsn.mk

all debug clean:	
	@set -e ; \
	  for d in $(SUBDIRS) ; do \
	    if [ -f $$d/Makefile ]; then ( cd $$d && $(MAKE) $@ ) || exit 1 ; fi ; \
	  done


install:	all 
	set -e ; \
	for d in $(SUBDIRS) ; do \
	    if [ -f $$d/Makefile ]; then ( cd $$d && $(MAKE) $@ ) || exit 1 ; fi ; \
	  done
	@echo "-------------------------------"
	@echo
	@echo "** etc files went into        ${ETCDIR}"	
	@echo "** executables went into      ${prefix}/bin"		
	@echo "** library files went into    ${prefix}/lib/erlang/lib/yaws-$(YAWS_VSN)"
	@echo "** var files went into        ${VARDIR}"
	@echo "** default docroot went into  ${VARDIR}/yaws/www"
	@echo
	@echo "--------------------------------"


docs:
	( cd doc && $(MAKE) docs )

conf_clean:
	-rm include.mk config.cache config.status config.log 2> /dev/null

local_install: all
	(cd scripts && $(MAKE) local_install)


touch:
	find . -name '*' -print | xargs touch -m
	find . -name '*.erl' -print | xargs touch -m




foo:
	@echo "-------------------------------"
	@echo
	@echo "** etc files will go into     ${ETCDIR}"	
	@echo "** executables will go into   ${prefix}/bin"		
	@echo "** library file will go into  ${prefix}/lib/erlang/lib/yaws-$(YAWS_VSN)"
	@echo "** var files will go into     ${VARDIR}"
	@echo
	@echo "--------------------------------"