Commit Graph

26 Commits

Author SHA1 Message Date
Jan Pokorný
e7e6961a66
build: follow-up on introducing custom m4 macros
Various "configure" commits by wferi recently introduced new
compat/custom m4 macro files in m4 directory, which itself was,
so far, assumed ephemeral (not strictly needed for reproducing
the build successfully, i.e., bits that can be completely purged
when cutting down the project files to the bone).  Apparently,
this assumption no longer holds so several places need to be
adapted.

Amonst others, m4 directory no longer needs to be reinsured in
autogen.sh, and special care must be taken with .gitignore
and maintainer-clean-local target of the main Makafile.

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
2017-05-19 15:32:55 +02:00
Jan Pokorný
bd31052e7d
build: persuade git-version-gen vMAJOR.MINOR tags just miss .0
Recent "v1.0" discovered this discrepancy propagated all around
and also this is not very compatible with the logic of commit 26d3911.

Treat missing "patch" component of the version as an implicit zero
to make such oddity go away.

Adjust spec file generation accordingly.
2016-04-04 16:08:18 +02:00
Jan Pokorný
20c35217ab
build: fix preposterous usage of $(AM_V_GEN) 2016-03-11 08:04:47 +01:00
Jan Pokorný
2468e46a56
build: extra clean-local rule instead of overriding clean-generic
Previously, stuffing CLEANFILES with anything would not work in the
affected files.
2016-03-10 21:06:29 +01:00
Jan Pokorný
df5e8d6295
build: switch to XZ tarball format for {,s}rpm packaging
References:
http://rpm.org/gitweb?p=rpm.git;a=commit;h=8078d0b (~2009)
http://rpm.org/gitweb?p=rpm.git;a=commit;h=3d63df6 (ditto)
2016-03-08 21:38:37 +01:00
Jan Pokorný
134fa07b0d
build: do not try to second-guess "distdir" Automake variable
Also make {,s}rpm targets generate only the tarball format that is
consumed in the packaging process.
2016-03-08 21:38:03 +01:00
Christine Caulfield
2dd75dee24 build: Correctly generate spec file's date
LC_ALL=C was outside of the shell environment so the date
was incorrect in the spec file if the system default language was not
C or English.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
2016-01-19 13:46:07 +00:00
Fabio M. Di Nitto
7c7cd04390 Low: build: update .gitignore and make maintainer-clean target
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2014-07-23 11:43:42 -05:00
David Vossel
78978d07ac Fix: build: Allow 'make rpm' to work with lightweight tags for release candidates 2014-02-19 12:39:58 -05:00
Angus Salkeld
c41f2c93a0 Add a tool to dump the blackbox.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-05-28 11:16:00 +10:00
Andrew Beekhof
edcf559044 Make "make (s)rpm" work more reliably
Make sure the version number is re-calculated on each run.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-04-30 15:09:55 +10:00
Angus Salkeld
4f1fa501f5 clean .version .tarball-version
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-12-16 23:34:18 +11:00
Angus Salkeld
e1e83aa746 Move simple-log.c to examples/
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-10-23 22:40:26 +11:00
Angus Salkeld
5b8e00ba06 Remove TODO from dist_doc_DATA
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-07-14 10:40:43 +10:00
Angus Salkeld
93a0506d69 Fix references to README
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-06-23 14:46:36 +10:00
Angus Salkeld
5b5a6c65d4 Make building a bit quieter by default.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-06-02 11:40:50 +10:00
Angus Salkeld
487f611cb9 BUILD: improve the rpm building
copy corosync's rpm build system.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-01-09 17:22:24 +11:00
Angus Salkeld
9d8d6bfdce LINT: get the lint target working.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-10-19 22:36:08 +11:00
Angus Salkeld
7cfb5e472f Roll all little libs into libqb.
This really makes things simpler (to produce and use).

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-05-27 11:34:58 +10:00
Angus Salkeld
5abc366c33 Make docs rules more maintainable
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-05-26 14:11:23 +10:00
Angus Salkeld
092da9a03f Add pkg-config files.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-05-26 13:49:48 +10:00
Angus Salkeld
2e2e6761bf Fix make doxygen (for html output)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-05-25 20:30:37 +10:00
Angus Salkeld
caecbe6542 Re-license to LGPL 2.1
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-05-25 06:11:59 +10:00
Angus Salkeld
40f235a889 libtool and code re-structure
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-04-15 23:25:29 +10:00
Angus Salkeld
c6134b367c add a unit test for hash & cleanup.
Fix make distcheck
    Add qbhash.h to the makefiles
    Fix make rpm.
    Make sure the makefiles are generatd for hash

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-04-15 12:19:08 +10:00
Angus Salkeld
69d77500df Initial Commit.
-autotools build system
-tsafe

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-03-11 14:19:39 +11:00