Commit Graph

15 Commits

Author SHA1 Message Date
Julien Danjou a3f9eb7af9 Revert "Add preliminary support for XPM format"
This reverts commit 5f8b538a5e4eeea159b26c3d0b943cac745ffdce.
2008-03-23 15:52:22 +01:00
Julien Danjou df2555d9fe Add preliminary support for XPM format
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-03-23 15:52:22 +01:00
Arnaud Fontaine 542a944361 Use Pango for fonts instead of Xft (which hasn't been ported yet to
XCB) to measure text.
2008-03-23 15:52:21 +01:00
Julien Danjou f4beb460d8 Add support for package codename into codename-stamp (like version) 2008-03-13 10:57:10 +01:00
Hans Ulrich Niedermann 593f92c24d Check whether 'xmlto man' actually works
If xmlto is present, create a very simple example man page by
running 'xmlto man'. Only generate man pages at "make all" time
if this works.

The check is a little lenthy, so we might want to put it into
a separate .m4 file some time.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-11 11:06:35 +01:00
Hans Ulrich Niedermann f42f138f78 More verbose warnings if doc tools not present
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-02-11 11:06:10 +01:00
Hans Ulrich Niedermann 3d9c2e72fb Compile executable with correct version number
Updates awesome-version.h every time the version number has
actually changed. The normal C header deps will then trigger
the appropriate rebuilds.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:32 +01:00
Hans Ulrich Niedermann ad28e78d13 Use pre-defined values for build infos (ifdef)
Use information autoconf determines anyway (machine type
building for, name of machine building on).

Only print build information if it is actually available (defined).

Add descriptions to all AC_DEFINE* macro definitions.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-25 12:10:32 +01:00
Julien Danjou d6e5e810ab add support for machine type too 2008-01-24 22:10:10 +01:00
Julien Danjou 00bf08178c add some useless infos in version :-) 2008-01-24 21:57:55 +01:00
Hans Ulrich Niedermann a3e8081c62 Add check for --help and --version support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-21 15:52:22 +01:00
Hans Ulrich Niedermann f9527bea3c Reformat automake options in configure.ac
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-21 15:52:22 +01:00
Hans Ulrich Niedermann eadebdd35d Add version generation script, version stamp file
Use a single script to generate the version number from git. This script

  * strips the v from the start of the "git describe" output
  * changes all "-" occurences to "."
  * does NOT create a properly sortable version number from "2.1-rc2"
    type "git describe" output
  * does NOT generate a "proper" "1.2.3" type version number under any
    circumstances
  * will generate "2.1" in case the "git describe" output is "2.1"

These policy might need closer adaption to awesome's tagging habit
some time.

In dist tarballs, ship a "version-stamp" file with the package version
in it. If the "version-stamp" file is present (i.e. if it is a source
tree from a dist tarball), no git checks will be performed.

Concept from autoconf, but code written from scratch to match
awesome's requirements.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-01-15 08:21:43 +01:00
Hans Ulrich Niedermann 7cad659806 Document AWESOME_CFLAGS, and use only with gcc
awesome's default compiler flags work only with gcc, so we only use
them if gcc is detected.

Additionally, you can now avoid using these default flags by adding
AWESOME_CFLAGS="" to your make command lines.
2008-01-04 22:06:52 +01:00
Hans Ulrich Niedermann ec09073087 switch to autotools as build system 2008-01-04 20:49:49 +01:00