Skip to content
This repository
Newer
Older
100644 98 lines (80 sloc) 2.829 kb
e41d79b4 »
2003-05-04 ""
1
990bf472 »
2012-01-02 moved the websockets example cb modules into the example dir
2 SUBDIRS = c_src src man www/shoppingcart www/code doc scripts \
3 examples/src
63772226 »
2002-06-16 ""
4 include ./include.mk
2ae9701b »
2008-05-20 Added a 'make release' target in the top makefile. he release
5 include ./vsn.mk
21abc5ba »
2002-02-11 Initial revision
6
47c0c702 »
2009-01-29 add pkg-config support contributed by Olivier Girondel
7 PKGCONFIG_FILES = yaws.pc
150d138b »
2002-06-17 ""
8
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
9 all debug clean:
21abc5ba »
2002-02-11 Initial revision
10 @set -e ; \
11 for d in $(SUBDIRS) ; do \
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
12 if [ -f $$d/Makefile ]; \
13 then ( cd $$d && $(MAKE) $@ ) || exit 1 ; \
14 fi ; \
21abc5ba »
2002-02-11 Initial revision
15 done
2ae9701b »
2008-05-20 Added a 'make release' target in the top makefile. he release
16 rm -rf yaws-${YAWS_VSN}.script yaws-${YAWS_VSN}.boot
17 rm -rf yaws-${YAWS_VSN}.rel yaws-${YAWS_VSN}.tar.gz
21abc5ba »
2002-02-11 Initial revision
18
28cb08d5 »
2011-03-02 make "make clean" also clean the test directory
19 cleantests:
20 cd test && $(MAKE) clean
e41d79b4 »
2003-05-04 ""
21
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
22 clean: cleantests
23
24 install: all
577b51fb »
2004-12-13 safer make install
25 set -e ; \
27ce7bf4 »
2006-06-07 *** empty log message ***
26 for d in $(SUBDIRS) ; do \
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
27 if [ -f $$d/Makefile ]; \
28 then ( cd $$d && $(MAKE) $@ ) || exit 1 ; \
29 fi ; \
47c0c702 »
2009-01-29 add pkg-config support contributed by Olivier Girondel
30 done
31 $(INSTALL) -d $(DESTDIR)$(PREFIX)/lib/pkgconfig
32 $(INSTALL) -m 644 $(PKGCONFIG_FILES) $(DESTDIR)$(PREFIX)/lib/pkgconfig
27ce7bf4 »
2006-06-07 *** empty log message ***
33 @echo "-------------------------------"
34 @echo
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
35 @echo "** etc files went into ${ETCDIR}"
36 @echo "** executables went into ${prefix}/bin"
27ce7bf4 »
2006-06-07 *** empty log message ***
37 @echo "** library files went into ${prefix}/lib/yaws"
38 @echo "** var files went into ${VARDIR}"
39 @echo "** default docroot went into ${VARDIR}/yaws/www"
40 @echo
41 @echo "--------------------------------"
577b51fb »
2004-12-13 safer make install
42
43
deddbfc8 »
2003-04-10 Build chain modifications: Install target directories is now totally …
44 docs:
45 ( cd doc && $(MAKE) docs )
5007942f »
2002-11-04 make local_install target
46
a19bb416 »
2003-03-06 skip empty space after an </erl> and handle http_error which is gener…
47 conf_clean:
206b4d91 »
2011-09-23 delete chatty messages, make yaws_server upgrade-friendly (Klarna)
48 -rm include.mk config.cache config.status config.log yaws.pc \
49 test/support/include.mk test/support/include.sh 2> /dev/null
a19bb416 »
2003-03-06 skip empty space after an </erl> and handle http_error which is gener…
50
5007942f »
2002-11-04 make local_install target
51 local_install: all
52 (cd scripts && $(MAKE) local_install)
53
623f05e6 »
2002-07-01 ""
54
2ae9701b »
2008-05-20 Added a 'make release' target in the top makefile. he release
55 # Target for folks that want to build a proper OTP release
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
56 # to be used with regular OTP release management.
2ae9701b »
2008-05-20 Added a 'make release' target in the top makefile. he release
57 release: vsn.mk include.mk yaws.rel.src all
58 sed -e "s/%YAWS_VSN%/${YAWS_VSN}/g" \
59 -e "s/%ERTS_VSN%/${ERTS_VSN}/" \
60 -e "s/%KERNEL_VSN%/${KERNEL_VSN}/" \
61 -e "s/%STDLIB_VSN%/${STDLIB_VSN}/" \
62 -e "s/%SASL_VSN%/${SASL_VSN}/" \
63 -e "s/%MNESIA_VSN%/${MNESIA_VSN}/" \
64 < yaws.rel.src > yaws-${YAWS_VSN}.rel
65 erlc -pa ./ebin yaws-${YAWS_VSN}.rel
66 erl -pa ./ebin -noinput -run systools make_tar yaws-${YAWS_VSN} \
67 -s erlang halt
68 @echo "-------------------------------"
69 @echo
70 @echo "Best to rerun this in an Erlang shell to pick up include directory:"
71 @echo
72 @echo "$$ erl -pa ./ebin"
73 @echo "1> systools:make_tar(\"yaws-${YAWS_VSN}\", [{dirs,[include,examples,src]}])."
74 @echo
75 @echo "--------------------------------"
76
b2153850 »
2002-02-12 ""
77 touch:
78 find . -name '*' -print | xargs touch -m
79 find . -name '*.erl' -print | xargs touch -m
80
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
81 yaws.plt:
cbed1017 »
2012-04-24 change dialyzer Makefile targets to handle known warnings
82 dialyzer --build_plt -r ebin src --output_plt yaws.plt \
db682d3d »
2011-03-02 add test target to top-level Makefile
83 -r $(ERLDIR)/lib/sasl-$(SASL_VSN) \
84 -r $(ERLDIR)/lib/kernel-$(KERNEL_VSN) \
85 -r $(ERLDIR)/lib/stdlib-$(STDLIB_VSN) \
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
86 -r $(ERLDIR)/lib/erts-$(ERTS_VSN)
b45c0a43 »
2010-02-18 dialyzer work
87
ff2fc18c »
2010-02-20 dialyzer work
88 # Not debug compiled, let's just ignore it
bedbc05b »
2011-05-07 add rebar support (Tuncer Ayaz and Steve Vinoski)
89 # -r $(ERLDIR)/lib/ssl-$(SSL_VSN)
b45c0a43 »
2010-02-18 dialyzer work
90
91 dialyzer: yaws.plt
cbed1017 »
2012-04-24 change dialyzer Makefile targets to handle known warnings
92 -dialyzer -q --plt yaws.plt -r ebin src > dialyzer_warnings
93 diff -U0 known_dialyzer_warnings dialyzer_warnings
db682d3d »
2011-03-02 add test target to top-level Makefile
94
95 .PHONY: test
2f9f664b »
2012-04-24 Make the target test dependent on the target all
96 test: all
db682d3d »
2011-03-02 add test target to top-level Makefile
97 cd test && $(MAKE) all setup test
Something went wrong with that request. Please try again.