Skip to content
Newer
Older
100644 78 lines (65 sloc) 2.21 KB
1b69d1a @djcb * cosmetics
authored Jan 13, 2011
1 ## Copyright (C) 2008-2011 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
c84e993 @djcb * update copyright info; add cc10 cyclomatic complexity check
authored Jan 7, 2010
2 ##
3 ## This program is free software; you can redistribute it and/or modify
4 ## it under the terms of the GNU General Public License as published by
5 ## the Free Software Foundation; either version 3 of the License, or
6 ## (at your option) any later version.
7 ##
8 ## This program is distributed in the hope that it will be useful,
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 ## GNU General Public License for more details.
12 ##
13 ## You should have received a copy of the GNU General Public License
14 ## along with this program; if not, write to the Free Software Foundation,
15 ## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
afcd800 @djcb * set up (unit) test framework using gtester
authored Jan 25, 2010
17 include $(top_srcdir)/gtest.mk
18
b46d591 @djcb * start working on some mu-based widgets (widgets/), create toys2/mug…
authored Jan 8, 2011
19 # only build widgets if we have webkit
f42f0cd @djcb * update build system
authored Jan 9, 2011
20 if BUILD_WIDGETS
b46d591 @djcb * start working on some mu-based widgets (widgets/), create toys2/mug…
authored Jan 8, 2011
21 widgets=widgets
22 else
23 widgets=
24 endif
25
26 SUBDIRS=m4 man src $(widgets) contrib toys
c84e993 @djcb * update copyright info; add cc10 cyclomatic complexity check
authored Jan 7, 2010
27
a53f549 @djcb * configure.ac/Makfile.am: add m4 as a macro dir, require stdc
authored Dec 7, 2010
28 ACLOCAL_AMFLAGS=-I m4
29
afcd800 @djcb * set up (unit) test framework using gtester
authored Jan 25, 2010
30 # so we can say 'make test'
c5dc8f0 @djcb * add many unit tests
authored Jan 28, 2010
31 check: test cleanupnote
32
33 cleanupnote:
63175c5 @djcb * Makefile.am, configure.ac: minor updates
authored Feb 2, 2010
34 @echo -e "\nNote: you can remove the mu-test-<uid> dir in your tempdir"
c5dc8f0 @djcb * add many unit tests
authored Jan 28, 2010
35 @echo "after 'make check' has finished."
afcd800 @djcb * set up (unit) test framework using gtester
authored Jan 25, 2010
36
37 tags:
38 gtags
39
a3abc73 @djcb * add function size check ('make line30')
authored Jan 31, 2010
40 # this warns about function that have a cyclomatic complexity of > 10,
41 # which is a sign that it needs some refactoring. requires the pmccabe
42 # tool. If all is fine, it outputs nothing
90c9b61 @djcb * update configuration files
authored Jan 16, 2010
43 cc10:
66a839a @djcb * Makefile.am: ignore tests/ for make cc10 and make line33
authored Mar 6, 2011
44 @$(PMCCABE) `find -name '*.c' -o -name '*.cc'` \
45 | grep -v mu-str-normalize.c \
46 | grep -v tests \
5818c40 @djcb * <many>: fix source code checks; move mu_msg_str_normalize to separa…
authored Nov 20, 2010
47 | sort -nr | awk '($$1 > 10)'
afcd800 @djcb * set up (unit) test framework using gtester
authored Jan 25, 2010
48
63175c5 @djcb * Makefile.am, configure.ac: minor updates
authored Feb 2, 2010
49 # this warns about functions that are over 33 non-comment lines long, which is a
a3abc73 @djcb * add function size check ('make line30')
authored Jan 31, 2010
50 # sign that they need some refactoring. requires the pmccabe tool. if
51 # all is fine, it outputs nothing
5818c40 @djcb * <many>: fix source code checks; move mu_msg_str_normalize to separa…
authored Nov 20, 2010
52 # note, mu_msg_str_normalize is excempted from this rule.
63175c5 @djcb * Makefile.am, configure.ac: minor updates
authored Feb 2, 2010
53 line33:
66a839a @djcb * Makefile.am: ignore tests/ for make cc10 and make line33
authored Mar 6, 2011
54 @$(PMCCABE) -c `find -name '*.c' -o -name '*.cc'` \
55 | grep -v mu-str-normalize.c \
56 | grep -v tests \
5818c40 @djcb * <many>: fix source code checks; move mu_msg_str_normalize to separa…
authored Nov 20, 2010
57 | awk '($$5 > 33)'
3fbcac4 @djcb * HACKING, TODO, Makefile.am: small updates
authored Jan 8, 2010
58
46e3037 @djcb * Makefile.am: add fixme target, to list all FIXMEs/TODOs
authored Feb 9, 2010
59 # get all todo/fixme messages
60 fixme:
61 @grep -i 'FIXME\|TODO' `find src -type f`
62
c1203dd @djcb * Makefile.am: add 'make gitcheck'; bump database schema version
authored Nov 21, 2010
63 # check whether we can run make distcheck from the repo version
64 gitcheck:
65 cd `mktemp -d`; \
66 git clone git://gitorious.org/mu/mu-ng.git ; \
67 cd mu-ng ; \
68 autoreconf -i ;\
69 ./configure ; \
70 make distcheck
71
afcd800 @djcb * set up (unit) test framework using gtester
authored Jan 25, 2010
72 EXTRA_DIST= \
73 TODO \
74 HACKING \
46e3037 @djcb * Makefile.am: add fixme target, to list all FIXMEs/TODOs
authored Feb 9, 2010
75 gtest.mk \
1d5d90d @djcb * add a dummy autogen.sh
authored Dec 5, 2010
76 NEWS \
77 autogen.sh
Something went wrong with that request. Please try again.