Commit Graph

60 Commits

Author SHA1 Message Date
Karel Zak b5c6f48631 tools: add small and stupid script to check HAVE_DECL_
use 'make checkdecl' to run the script

Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-13 11:59:29 +02:00
Sami Kerola ea6c96fb0f tools: add checkmans.sh
A script to find whether all manuals has proper groff syntax.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-06-02 20:29:07 +02:00
Petr Uzel 1b68c37927 uuidd: add systemd unit files
Add systemd unit files which use the socket activation mechanism
of systemd. The uuidd deamon is started upon first request on the
socket and quits after 1 minute of inactivity.

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-05-04 15:14:16 +02:00
Petr Uzel a2defd027f build-sys: run distcheck with verbose make rules
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-04-27 12:30:22 +02:00
Karel Zak a7b585eac3 fsck: move to disk-utils directory
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-03-20 11:22:09 +01:00
Sami Kerola f06b43285d build-sys: enhance readability of the autotools files
Several horizontal lists are turned to vertical, and sorted to
alphabetical order. Additionally spaces are converted to tabs where
ever possible.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-02-28 13:29:35 +01:00
Karel Zak 4cc5a3e245 build-sys: add tools/ to EXTRA_DIST
Reported-by: Petr Uzel <petr.uzel@suse.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-21 12:12:09 +01:00
Karel Zak 748c010f07 build-sys: improve changelog target
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-19 10:32:32 +01:00
Karel Zak 47fb10792a build-sys: add changelog target
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-18 21:29:52 +01:00
Karel Zak d05a3e9713 build-sys: add checkxalloc to toplevel Makefile
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-04 14:25:21 +01:00
Karel Zak 0bf2dd3a0a build-sys: use --enable-most-builds for distcheck
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-09-12 14:12:43 +02:00
Sami Kerola f98d4f766e docs: Documentation directory added
Move readme, licence, change log, relese notes and other
supplementary files to a Documentation directory. This commit
does not change contents of any other but few Makefile.am files.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-08-12 20:19:52 +02:00
Karel Zak 58a111bdb2 build-sys: move BUILD_SCHEDUTILS to top-level Makefile
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-20 13:51:26 +02:00
Karel Zak 8fb4efae6f build-sys: use top-level directory for libblkid rather than shlibs/blkid
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-09 22:04:24 +02:00
Karel Zak 2aefc0a8f2 build-sys: use top-level directory for libmount rather than shlibs/mount
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-09 21:59:52 +02:00
Karel Zak 83d20837dc build-sys: use top-level directory for libuuid rather than shlibs/uuid
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-09 21:54:05 +02:00
Karel Zak 0ff9e65ea3 simpleinit: remove this deprecated set of utils
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-06-08 13:20:37 +02:00
Sami Kerola 2b85ab880d build-sys: use AUTOMAKE_OPTIONS = gnu
The change will cause make dist to have INSTALL file from
automake release, which hopefully is more up to date than
manually maintained version.

The gnu option will also require ChangeLog to be present, and
without doubts no-one wants to maintain that manually. I added
file to reference link to internet git repository view.

At the time of make dist current tag is added to the ChangeLog
reference which will make release to point exactly to the point
where changes ended. Minor drawback is that untagged make dist
releases will contain a broken link in ChangeLog.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-05-26 15:04:01 +02:00
Sami Kerola 38c75b59e3 build-sys: use git-version-gen to distinct git and release versions
The script is copied as is from gnulib.

[kzak@redhat.com: - generate .tarball-version and .version files in
                    top level Makefile.am
                  - delete autom4te.cache in autogen.sh]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-04-05 16:34:00 +02:00
Karel Zak b98ae9c2e8 build-sys: clean up partx Makefile
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-03-16 17:39:54 +01:00
Karel Zak b1ef3ad66b build-sys: don't support external (e2fsprogs) libblkid
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-03-16 17:31:50 +01:00
Samuel Thibault 465e997384 hwclock: build on non-Linux
Thanks to the direct ISA method and by disabling the RTC get/set epoch
functionality, hwclock can work fine on non-Linux systems which provide
ioperm or iopl.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2011-03-11 12:34:25 +01:00
Sami Kerola 8b416ca05f build-sys: fix unportable Makefile.am assignment
Makefile.am:36: warning: `:='-style assignments are not portable

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-03-08 13:37:22 +01:00
Karel Zak c0f20acb7a build-sys: add term-utils/
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-03-02 13:54:05 +01:00
Karel Zak 5502d92b28 simpleinit: move old init stuff to separate directory
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-12-10 17:28:32 +01:00
Karel Zak f331598afc man: add russian translation of ddate.1
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-10-21 15:00:47 +02:00
Karel Zak 0c0f93fcc3 fsck: improve whole-disk check, detect stacked devices
The current heuristic for conversion from partition to whole-disk
is based on device names. It's pretty poor. This patch replaces this
code with blkid_devno_to_wholedisk(). This solution is based on
/sys FS and it works for arbitrary partitioned devices.

The another problem is the way how fsck determines stacked devices.
The current code checks device name for "md" prefix only. It does not
care about DM, dm-ccypt, and so on. This patch uses
/sys/block/.../slaves/, but it does not fully resolves dependencies
between all devices. The method is simple -- fsck does not check
stacked devices in parallel with any other device.

Signed-off-by: Karel Zak <kzak@redhat.com>
2010-08-19 15:33:45 +02:00
Diego Elio 'Flameeyes' Pettenò ebc83db1a1 build-sys: drop shlibs/Makefile.am that only adds SUBDIRS
The same effect is gotten by changing SUBDIRS in the top-level
Makefile.am.
2010-07-29 17:48:01 +02:00
Karel Zak fed194513d build-sys: remove obsolete --with-fsprobe from distcheck flags
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-11-05 23:37:15 +01:00
Karel Zak 1e018c1571 libblkid: gtkdocize (API docs generated by gtk-docs)
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-09-16 21:39:37 +02:00
Karel Zak 20ad496324 build-sys: complete /libs to /shlibs rename
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-05-14 17:40:52 +02:00
Karel Zak 7d2802a0db build-sys: fix bugs detected by "make distcheck"
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-03-18 15:46:53 +01:00
Karel Zak 607c2a7295 fsck: move fsck from e2fsprogs to util-linux-ng
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-18 15:09:34 +01:00
Karel Zak 24a06aeb1b blkid: create basic directories
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-11 18:02:39 +01:00
Karel Zak 043102bf19 tools: add checkconfig to top-level Makefile
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-11-26 13:42:16 +01:00
Karel Zak 44e293d65c tools: add checkincludes.pl (from linux kernel)
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-11-26 12:59:29 +01:00
Alon Bar-Lev 7177d32ecf build-sys: add --disable-mount
I use busybox for most of the utilities, still lacks a few that I wish to use
from util-linux...

So mount comes from busybox.  And during the cross compile I don't want to
compile the mount dependencies only to make the configure script happy...

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-11-19 12:40:06 +01:00
Stepan Kasal 8569410cf5 build-sys: add --enable-static-programs
Add support for static versions of mount, umount, losetup, fdisk,
and sfdisk.

Co-Author: Karel Zak <kzak@redhat.com>
Signed-off-by: Stepan Kasal <skasal@redhat.com>
2008-02-18 13:27:02 +01:00
Stepan Kasal 003359036d build-sys: build arch(1) during distcheck
Signed-off-by: Stepan Kasal <skasal@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-12-17 10:14:41 +01:00
Karel Zak d00ed8911e tests: move test_bkdev to lib/
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-28 12:27:00 +01:00
Samuel Thibault 3bbc932079 build-sys: non-linux support
Here is a patch that disables linux-specific tools on non-linux targets.

Signed-Off-By: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-Off-By: Karel Zak <kzak@redhat.com>
2007-11-08 02:26:36 +01:00
Karel Zak b3adc9729d docs: add DEPRECATED to EXTRA_DIST
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-20 14:37:52 +02:00
Karel Zak dcb219b313 docs: add README.licensing
There is not only one unique license for all code in utl-linux-ng. We
have mix of utils with Public Domain, BSD, GPLv2 or GPLv2+. This thing
should be more transparent to avoid misunderstanding.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-08-14 12:27:55 +02:00
Karel Zak 9645b5cbe9 build-sys: fix directories in EXTRA_DIST
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-07-26 15:21:50 +02:00
Karel Zak 62f0ec7b4a build-sys: remove "make mrproper", git-clean is good enough
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-07-12 14:31:26 +02:00
Karel Zak 5196eb4b00 docs: add release notes
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-07-03 23:16:13 +02:00
Karel Zak 71be1ee4a1 tools: add codecheck-config that checks for {HAVE,ENABLE}_ orphans
Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-06-15 10:17:51 +02:00
Stepan Kasal 0b9f737e0b build-sys: in the clean targets use "find ... | xargs rm -f"
"find ... -exec rm {}" is unnecessarily slow.

Signed-off-by: Stepan Kasal <skasal@redhat.com>
2007-05-16 11:43:31 +02:00
Stepan Kasal 6fcc950571 build-sys: remove po/Makevars.template from EXTRA_DIST
The is no point in distributing it.

Signed-off-by: Stepan Kasal <skasal@redhat.com>
2007-05-16 11:43:31 +02:00
Stepan Kasal 1b38f7cc47 build-sys: remove config/include-Makefile.am from EXTRA_DIST
It gets distributed automaticaly.

Signed-off-by: Stepan Kasal <skasal@redhat.com>
2007-05-16 11:43:30 +02:00