Commit Graph

31 Commits

Author SHA1 Message Date
Anthony G. Basile
96fe7e83d4 man: ship pre-build man pages
This addresses https://github.com/gentoo/eudev/issues/98

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-10-31 20:12:39 -04:00
Anthony G. Basile
73577f3bcb Allow autogen on systems without gtk-doc or introspection installed
On systems without gtk-doc installed, we were mocking up docs/gtk-doc.make
and m4/gtk-doc.m4 to avoid a failure in configure.  On systems without
introspection installed, we were doing nothing and allowing the failure
to occur.  Since autogen should only be run on the developer side this is
should be okay, but to be more friendly to other distros and users that
want to start from autogen, we now bundle

	docs/gtk-doc.make
	m4/gtk-doc.m4
	m4/introspection.m4

Care in the future should be taken by the developers to make sure these
files stay up to day.

This should take care of

	https://github.com/gentoo/eudev/issues/11

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-26 18:40:20 -05:00
Anthony G. Basile
081d682b26 Remove undeeded macros from m4 directory
The acx_libwrap.m4 and attributes.m4 were used for checks related
to libwrap and compile attribute/flags, respectively.  Since these
have been removed from the build system, they are left over lint.

Files can be retrieved by

 git checkout ddfb9b07df -- <filename>

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-23 08:55:12 -05:00
Felipe Contreras
8b75afdbc2 Fix build when gtk-doc is enabled
Looks like gtk-doc.make is meant for automake, not make.

Some previous changes need to be reverted.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2012-11-17 21:15:36 +01:00
Felipe Contreras
54cdf5fe91 Truly fix build without gtk-doc
The gtk-doc.m4 was not merged to 'master' but we don't need it. It's
better to generate it.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2012-11-17 21:07:10 +01:00
Felipe Contreras
d10ce69cc7 autogen: cleanup
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2012-11-17 13:10:13 -05:00
Felipe Contreras
b0d2945b5b Allow build without gtk-doc
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2012-11-17 13:09:34 -05:00
Anthony G. Basile
eb203b01c9 Final step of revamping the build system
The structure of the source tree is basically correct and this is
about as far as we can go without hacking at the C code.
2012-11-15 21:47:20 -05:00
Anthony G. Basile
c47f33a498 Second step of revamping the build system
The original Makefile.am was drawn to the top level.  This commit
breaks it out into the various directories with SUBDIRS connecting
them.  This makes each directory easier to maintain.
2012-11-15 20:18:22 -05:00
Anthony G. Basile
b7b2cc298c Initial revamping of the build system
This is the first pass attempting to keep as much of the build system
as is necessary for only udev from the fork.  Emphasis was given to
configure.ac.  Gutting had to be done to Makefile.am but this needs
work to be broken out into SUBDIR Makefile.am which each address those
pieces.
2012-11-15 14:51:20 -05:00
Kay Sievers
5ea373e101 autogen.sh: disable _FORTIFY_SOURCE, we want -O0, which is incompatible 2012-08-08 13:16:57 +02:00
Lennart Poettering
5a45a93627 build-sys: enable a couple of security features
Most distributions enable these downstream anyway, but it probably makes
sense to enable them unconditionally upstream too.
2012-08-08 12:03:34 +02:00
Mantas Mikulėnas
72d25fd925 build-sys: really make gtk-doc optional & some portability fixes
The failing check caused autogen.sh to die mysteriously due to `set -e`
and the unquoted `test -z $VAR`.

Also, some syntax fixes to make it work with /bin/sh, which most other
autogen.sh's use.

[zj: implemented simplification suggested by Peters Simon
 and fixed the case where gtkdocize was available but is not anymore.]
2012-07-25 22:43:30 +02:00
Zbyszek Jędrzejewski-Szmek
2fd8b540c9 build-sys: fail early in autogen.sh
When intltoolize is not installed, autogen.sh runs without error,
but configure.ac is borked.

./configure: line 12001: syntax error near unexpected token `0.40.0'
./configure: line 12001: `IT_PROG_INTLTOOL(0.40.0)'
2012-07-21 07:55:36 +02:00
Kay Sievers
8e8eb8fbaf udev: always use $(rootprefix)/lib/udev for libexecdir
On Sat, Jun 9, 2012 at 12:46 AM, Malte Starostik <lists@malte.homeip.net> wrote:
> From: Malte Starostik <m-starostik@versanet.de>
>
> Rules get installed in $(libexecdir)/udev/, so are keymaps.  Helper
> binaries go to $(rootprefix)/lib/udev though.  Problem is, in the code,
> both are referenced via UDEVLIBEXECDIR which is defined to the former
> location.  Result: systemd-udev can't find e.g. the keymap binary to
> apply keymaps.
2012-06-10 17:23:43 +02:00
Lennart Poettering
473dca4ac1 build-sys: fix build for folks without gtk-doc installed 2012-05-15 13:55:48 +02:00
Lennart Poettering
843605d372 build-sys: move gtk-doc stuff into its own subdir and reindent autogen.sh
We moved most other build noise files into their own subdirs, so let's
do this for gtk-doc too
2012-05-15 13:54:29 +02:00
Kay Sievers
66be655480 autogen.sh: undef _FORTIFY_SOURCE, which now logs warnings when used with -O0 2012-05-08 02:51:26 +02:00
Kay Sievers
80a5cbace4 build-sys: silence gtk-doc check, remove gtk-doc options from configure and distcheck 2012-04-17 17:11:02 +02:00
Javier Jardón
92ec4495f7 build-sys: make gtk-doc dependency optional 2012-04-17 17:01:21 +02:00
Lennart Poettering
5430f7f2bc relicense to LGPLv2.1 (with exceptions)
We finally got the OK from all contributors with non-trivial commits to
relicense systemd from GPL2+ to LGPL2.1+.

Some udev bits continue to be GPL2+ for now, but we are looking into
relicensing them too, to allow free copy/paste of all code within
systemd.

The bits that used to be MIT continue to be MIT.

The big benefit of the relicensing is that closed source code may now
link against libsystemd-login.so and friends.
2012-04-12 00:24:39 +02:00
Kay Sievers
3e2147858f move imported udev into place 2012-04-04 05:05:07 +02:00
Kay Sievers
772f4698ff autogen.sh: detect historic split-system-directories and add root options 2012-02-07 03:23:05 +01:00
Kay Sievers
6bd9fe5a73 autogen.sh: diet and sync with udev and kmod 2012-01-09 23:14:03 +01:00
Kay Sievers
fbe224e203 autogen: add --with-rootlibdir= and switch /usr/local to /usr 2012-01-05 17:57:02 +01:00
Lennart Poettering
3c57bf5ea5 build-sys: drop colorgcc 2012-01-05 16:40:14 +01:00
Kay Sievers
b8079ae19b build-sys: rename 'rootdir' to 'rootprefix' like udev and kmod uses 2012-01-05 00:40:39 +01:00
Kay Sievers
ae446765eb libsystemd-daemon: support installation in --with-rootlibdir 2011-07-15 01:31:06 +02:00
Bastien Nocera
1c7dde3e47 build-sys: Add i18n support through intltool
And put the PolicyKit policy files up for translation.
2011-07-11 21:10:33 +02:00
Kay Sievers
61fbbab869 build-sys: always place user units in /usr/lib/systemd
./configure --libexecdir=/usr/lib
2011-04-05 02:19:42 +02:00
Kay Sievers
4bbf01f38a use common names: fixme -> TODO, bootstrap.sh -> autogen.sh 2010-10-07 19:30:54 +02:00