Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 81 lines (63 sloc) 2.329 kb
e41d79b Claes Wikstrom ""
authored
1
e7aa877 Claes Wikstrom documented appmods as an example
authored
2 SUBDIRS = c_src src man www/shopingcart www/code doc scripts
6377222 Claes Wikstrom ""
authored
3 include ./include.mk
2ae9701 Claes Wikstrom Added a 'make release' target in the top makefile. he release
authored
4 include ./vsn.mk
21abc5b Claes Wikstrom Initial revision
authored
5
150d138 ""
Tobbe Tornquist authored
6
577b51f Claes Wikstrom safer make install
authored
7 all debug clean:
21abc5b Claes Wikstrom Initial revision
authored
8 @set -e ; \
9 for d in $(SUBDIRS) ; do \
78ee43d Claes Wikstrom ""
authored
10 if [ -f $$d/Makefile ]; then ( cd $$d && $(MAKE) $@ ) || exit 1 ; fi ; \
21abc5b Claes Wikstrom Initial revision
authored
11 done
2ae9701 Claes Wikstrom Added a 'make release' target in the top makefile. he release
authored
12 rm -rf yaws-${YAWS_VSN}.script yaws-${YAWS_VSN}.boot
13 rm -rf yaws-${YAWS_VSN}.rel yaws-${YAWS_VSN}.tar.gz
21abc5b Claes Wikstrom Initial revision
authored
14
e41d79b Claes Wikstrom ""
authored
15
27ce7bf Claes Wikstrom *** empty log message ***
authored
16 install: all
577b51f Claes Wikstrom safer make install
authored
17 set -e ; \
27ce7bf Claes Wikstrom *** empty log message ***
authored
18 for d in $(SUBDIRS) ; do \
577b51f Claes Wikstrom safer make install
authored
19 if [ -f $$d/Makefile ]; then ( cd $$d && $(MAKE) $@ ) || exit 1 ; fi ; \
20 done
27ce7bf Claes Wikstrom *** empty log message ***
authored
21 @echo "-------------------------------"
22 @echo
23 @echo "** etc files went into ${ETCDIR}"
24 @echo "** executables went into ${prefix}/bin"
25 @echo "** library files went into ${prefix}/lib/yaws"
26 @echo "** var files went into ${VARDIR}"
27 @echo "** default docroot went into ${VARDIR}/yaws/www"
28 @echo
29 @echo "--------------------------------"
577b51f Claes Wikstrom safer make install
authored
30
31
deddbfc Build chain modifications: Install target directories is now totally con...
Mikael Karlsson authored
32 docs:
33 ( cd doc && $(MAKE) docs )
5007942 Claes Wikstrom make local_install target
authored
34
a19bb41 Claes Wikstrom skip empty space after an </erl> and handle http_error which is generate...
authored
35 conf_clean:
36 -rm include.mk config.cache config.status config.log 2> /dev/null
37
5007942 Claes Wikstrom make local_install target
authored
38 local_install: all
39 (cd scripts && $(MAKE) local_install)
40
623f05e Claes Wikstrom ""
authored
41
2ae9701 Claes Wikstrom Added a 'make release' target in the top makefile. he release
authored
42 # Target for folks that want to build a proper OTP release
2b75594 Claes Wikstrom the make release patch was submitted by Vance Shipley
authored
43 # to be used with regular OTP release management.
2ae9701 Claes Wikstrom Added a 'make release' target in the top makefile. he release
authored
44 release: vsn.mk include.mk yaws.rel.src all
45 sed -e "s/%YAWS_VSN%/${YAWS_VSN}/g" \
46 -e "s/%ERTS_VSN%/${ERTS_VSN}/" \
47 -e "s/%KERNEL_VSN%/${KERNEL_VSN}/" \
48 -e "s/%STDLIB_VSN%/${STDLIB_VSN}/" \
49 -e "s/%SASL_VSN%/${SASL_VSN}/" \
50 -e "s/%MNESIA_VSN%/${MNESIA_VSN}/" \
51 < yaws.rel.src > yaws-${YAWS_VSN}.rel
52 erlc -pa ./ebin yaws-${YAWS_VSN}.rel
53 erl -pa ./ebin -noinput -run systools make_tar yaws-${YAWS_VSN} \
54 -s erlang halt
55 @echo "-------------------------------"
56 @echo
57 @echo "Best to rerun this in an Erlang shell to pick up include directory:"
58 @echo
59 @echo "$$ erl -pa ./ebin"
60 @echo "1> systools:make_tar(\"yaws-${YAWS_VSN}\", [{dirs,[include,examples,src]}])."
61 @echo
62 @echo "--------------------------------"
63
b215385 Claes Wikstrom ""
authored
64 touch:
65 find . -name '*' -print | xargs touch -m
66 find . -name '*.erl' -print | xargs touch -m
67
68
d69e4d8 Claes Wikstrom ""
authored
69
961926f Claes Wikstrom ""
authored
70
c88f457 Claes Wikstrom preparing for 1.62
authored
71 foo:
27ce7bf Claes Wikstrom *** empty log message ***
authored
72 @echo "-------------------------------"
73 @echo
74 @echo "** etc files will go into ${ETCDIR}"
75 @echo "** executables will go into ${prefix}/bin"
76 @echo "** library file will go into ${prefix}/lib/yaws"
77 @echo "** var files will go into ${VARDIR}"
78 @echo
79 @echo "--------------------------------"
80
Something went wrong with that request. Please try again.