Michael Gehring
c19fde1f01
cmake: only awesome-client needs to link readline
2008-06-24 18:15:20 +02:00
Michael Gehring
9d9bb48094
cmake: awesome-client depends on generated sources
2008-06-24 18:15:20 +02:00
Michael Gehring
388dbb01c1
build: implement make dist using git-archive
...
Instead of jumping through hoops to get the ignore list
right just use git-archive to get a clean source tarball.
2008-06-24 08:58:04 +02:00
Michael Gehring
27bc445664
cmake: use luadoc for functions exported from C
...
Documenting half of the Lua API in the awesomerc manpage and the other
half with luadoc, doesn't make much sense. I modified the output of
gendoc.lua to something that looks like lua with luadoc markup. That
file can then be processed by luadoc and we have all Lua documentation in
one place.
And yes, we're now pulling custom doxygen tags out of C source code to
generate annotated lua source code we never use, which is then mangled
again by luadoc to spit out a set of html files.
2008-06-23 18:43:05 +02:00
Michael Gehring
c3272d19a3
cmake: build/install luadoc for awful and tabulous
2008-06-23 18:43:04 +02:00
Felix C. Morency
e62ce757de
cmake: fixed out-of-source build
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-23 18:31:42 +02:00
Michael Gehring
8f5363bcc1
cmake: indent
2008-06-23 14:15:55 +02:00
Michael Gehring
d08f746733
cmake: switch cmake commands to lowercase
2008-06-23 14:15:55 +02:00
Michael Gehring
6f8aa30b2f
cmake: use BUILD_DIR/SOURCE_DIR shorthands
...
basically:
s/CMAKE_CURRENT_SOURCE_DIR/SOURCE_DIR/g
s/CMAKE_CURRENT_BINARY_DIR/BUILD_DIR/g
2008-06-23 14:15:55 +02:00
Julien Danjou
ab5119732d
use more tokenizer, with len
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-23 14:01:33 +02:00
Michael Gehring
c0796d2259
cmake: typo
2008-06-23 13:11:51 +02:00
Michael Gehring
3b2848f00b
cmake: move gperf commands to generated_sources
2008-06-23 13:11:51 +02:00
Michael Gehring
138895317c
cmake: make out-of-source build work with RO source dir again
2008-06-23 13:11:51 +02:00
Pierre Habouzit
1746e9e940
don't include tokenize.[hc] in the manpages target for now
...
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-23 09:23:31 +02:00
Pierre Habouzit
c2df807ede
Use gperf to tokenize some strings.
...
This makes the code way more readable, and also avoids a lot of strcmps.
Use it for draw_align_get_from_str as a proof of concept.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-23 07:41:22 +02:00
MATSUU Takuto
ec71a73072
build: set minimal cmake version to 2.4.7
...
FindPkgConfig is implemented in cmake-2.4.7. it doesn't work with cmake-2.4.6.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-23 07:37:42 +02:00
Michael Gehring
426d2fee9e
cmake: update git version every build
2008-06-22 22:13:06 +02:00
Pierre Habouzit
e25a50774b
Add extensible buffers to awesome.
...
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-22 15:04:09 +02:00
Michael Gehring
e1dd1344fc
cmake: make out-of-source build work with readonly source dir
2008-06-22 03:00:42 +02:00
Michael Gehring
000e69729a
cmake: figure out man section from filename
2008-06-21 19:14:26 +02:00
Michael Gehring
62f2e3d549
cmake: stop deleting the source when gzipping manpages
2008-06-21 18:27:36 +02:00
Félix C. Morency
041207090a
* Fixed header generation
2008-06-21 18:08:55 +02:00
Michael Gehring
8cf710acad
cmake: make manpages have dependecies again
2008-06-21 18:08:45 +02:00
Michael Gehring
15dbc1c887
cmake: make lua api documentation a target with dependencies
2008-06-21 17:04:02 +02:00
Michael Gehring
f231e8496a
cmake: cmake < 2.6 doesn't know FILE(STRINGS ...)
2008-06-21 15:10:59 +02:00
Michael Gehring
482679548b
cmake: scan sources for lua exports
2008-06-21 10:20:00 +02:00
Michael Gehring
8fdd5fa62e
cmake: install LICENSE/README/...
2008-06-21 10:20:00 +02:00
Michael Gehring
94c0b483fb
cmake: make generated headers a real target with dependecies
2008-06-21 10:20:00 +02:00
Michael Gehring
0ec46b99b9
cmake: move cmake 2.4 compatibility settings on top
2008-06-21 10:20:00 +02:00
Michael Gehring
bc85cd80ea
cmake: awesome-client: stop linking to X libs
2008-06-21 10:20:00 +02:00
Michael Gehring
37ccec4800
cmake: restructure required/optional libs
2008-06-21 10:20:00 +02:00
Michael Gehring
30ea399f52
cmake: remove unnecessary variables
2008-06-21 10:20:00 +02:00
Michael Gehring
a25ce00935
cmake: make building manpages an option
2008-06-21 10:20:00 +02:00
Michael Gehring
92e7c4f940
cmake: move doxygen target to CMakeLists.txt
2008-06-21 10:20:00 +02:00
Michael Gehring
0aa87e68b8
cmake: group external utilities
2008-06-21 10:20:00 +02:00
Félix C. Morency
77f5fbcc60
Fixed loose loop construct support and cmake min version
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-20 15:38:37 +02:00
Michael Gehring
7ed1ee43ca
cmake: remove second ${LIB_EV} in target_libraries
2008-06-20 12:15:23 +02:00
Félix C. Morency
cc79b387fc
* Fixed install path
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-20 07:04:34 +02:00
Julien Danjou
8d1695c51e
cmake: minimum version to 2.6
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-19 23:21:29 +02:00
Julien Danjou
0a6927a862
cmake: reset cflags
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-19 23:18:10 +02:00
Julien Danjou
b5a54ed6cf
cmake: set real awesome-client sources
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-19 22:59:11 +02:00
Pierre Habouzit
84228e2731
Add decent CFLAGS.
...
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-19 22:57:08 +02:00
Julien Danjou
79a2a6ad16
cmake: remove last tabs
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-19 22:53:29 +02:00
Julien Danjou
edc5d7d528
cmake: clean stuff
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-19 22:49:26 +02:00
Félix C. Morency
e0107429d3
* Fixed man page generation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-19 22:28:47 +02:00
Michael Gehring
e4db646968
cmake: awful/tabulous live in lib/ now
2008-06-19 22:28:47 +02:00
Félix C. Morency
bec519e726
* Fixed CPack package generation
2008-06-19 22:28:47 +02:00
Félix C. Morency
a66c82b25e
* Fixed man page generation
2008-06-19 22:28:47 +02:00
Michael Gehring
d605fd23ec
cmake: add vim modeline
2008-06-19 22:28:47 +02:00
Michael Gehring
34a5a75860
cmake: fix icon install path
2008-06-19 22:28:47 +02:00