README

changeset 68
ae763178ee1e
parent 63
0b26266b8f51
equal deleted inserted replaced
67:767fe7a007f7 68:ae763178ee1e
3 Copyright (C) 2018 Mike Becker 3 Copyright (C) 2018 Mike Becker
4 4
5 Contents: 5 Contents:
6 1) About ................................................................... 12 6 1) About ................................................................... 12
7 2) Build instructions ...................................................... 24 7 2) Build instructions ...................................................... 24
8 3) Usage example ........................................................... 39 8 3) Usage example ........................................................... 35
9 4) License ................................................................. 48 9 4) License ................................................................. 44
10 10
11 11
12 1) About ______________________________________________________________________ 12 1) About ______________________________________________________________________
13 13
14 cline is a command line tool that counts code lines in your project folder. It 14 cline is a command line tool that counts code lines in your project folder. It
21 21
22 Type cline --help for further information. 22 Type cline --help for further information.
23 23
24 2) Build instructions _________________________________________________________ 24 2) Build instructions _________________________________________________________
25 25
26 If you checked out the sources from version control, you firstly need to run 26 When you want to build from source, you can just run
27 ./prebuild.sh 27 make
28 This requires autotools installed on your system and creates a build dir.
29
30 In release version you can skip the first task and just run
31 ./configure && make
32 28
33 After building you get a system wide install with 29 After building you get a system wide install with
34 sudo make install 30 sudo make install
35 31
36 To enable a debug build, configure with 32 To enable a debug build, configure with
37 ./configure --enable-debug 33 ./configure --debug
38 34
39 3) Example usage ______________________________________________________________ 35 3) Example usage ______________________________________________________________
40 36
41 You can test cline right away with the cline project files. Just type: 37 You can test cline right away with the cline project files. Just type:
42 cline -rms .c,.h --exclude-cstyle-comments 38 cline -rms .c,.h --exclude-cstyle-comments

mercurial