Skip to content

HTTPS clone URL

Subversion checkout URL

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