9 test -d
$(BUILDDIR
) || .
/configure
--build-dir
$(BUILDDIR
)
10 make
$(MAKEOPT
) -C
$(BUILDDIR
) generators
11 make
$(MAKEOPT
) -C
$(BUILDDIR
)
14 make
$(MAKEOPT
) -C
$(BUILDDIR
) install
17 doxygen doc
/Doxyfile
&& cp doc
/tabs.css doc
/html
/
20 make
$(MAKEOPT
) -C
$(BUILDDIR
)
22 @echo
" ---------------------------------"
23 @echo
" | TEST SUITE |"
24 @echo
" ---------------------------------"
26 test -d reports || mkdir reports
&& \
28 .
/moulette tests
/lang
/test-suite \
29 --out-xml reports
/report-
$${ts}.xml \
30 --out-json reports
/report-
$${ts}.json \
31 | tee reports
/report-
$${ts}.out
&& \
33 ln
-sf report-
$${ts}.xml report-latest.xml
&& \
34 ln
-sf report-
$${ts}.json report-latest.json
&& \
35 ln
-sf report-
$${ts}.out report-latest.out
38 make
$(MAKEOPT
) -C
$(BUILDDIR
) clean
39 find . \
( -name
'*~' \
) -exec
rm -f
{} \
;
42 rm -rf
$(BUILDDIR
) config.mk
47 @echo
"build build the project"
48 @echo
"check check the project"
49 @echo
"clean clean the project"
50 @echo
"distclean distclean the project"
51 @echo
"doc generate the doxygen html documentation"
52 @echo
"lighttpd-start starts the lighttpd server"
53 @echo
"lighttpd-restart restarts the lighttpd server"
54 @echo
"lighttpd-stop stops the lighttpd server"
56 doc
/lighttpd
/local.conf
: Makefile
57 echo var.doc_dir
= \"$$PWD/doc
\" >$@
59 lighttpd-start
: doc
/lighttpd
/local.conf
60 lighttpd
-f doc
/lighttpd
/lighttpd.conf
65 lighttpd-restart
: lighttpd-stop lighttpd-start
69 find tests \
( -name
'*.ll' -o
-name
'*.bc' -o
-name
'*.bin' \
) -exec
rm {} \
;
70 for i in tests
/lang
/mugiwara
/input
/expr
/*-*-*; do i
=$${i
/.mgw
/}; if
[[ -f
$$i ]] ; then
rm $$i; fi
; done
72 remove-trailing-whitespaces
:
73 find src
-type f
-exec sed
-i
's/ \+$$//g' {} \
;
76 ctags
-R
--c
++-kinds
=+p
--fields
=+iaS
--extra
=+q src
/usr
/include/c
++/4.3.3/ /usr
/include/llvm
&& mv
tags $@
79 find src \
( -name
'*.hh' -o
-name
'*.hxx' -o
-name
'*.cc' \
) -print0 | xargs
-0 ctags.emacs
-T
--members
--globals
--declarations
-o
$@
82 cd po
&& find ..
/src
/ \
( -name
'*.cc' -o
-name
'*.hh' -o
-name
'*.h' -o
-name
'*.c' -o
-name
'*.hxx' -o
-name
'*.cxx' \
) -print0 | xargs
-0 xgettext
-o ozulis.pot
--default-domain
=ozulis
--keyword
=_
--foreign-user
--package-name
=ozulis
--package-version
=0.6 --msgid-bugs-address
=bique.alexandre@gmail.com
84 .PHONY
: tags-vim tags-emacs messages