Commit Graph

21 Commits

Author SHA1 Message Date
Kalev Lember add7504fce build: Install snippets/ in 'make install'
https://bugzilla.redhat.com/show_bug.cgi?id=1276987
2015-11-06 09:08:13 +01:00
Bruno Wolff III 1bdc87189a Use git version to get version name
Using git version is simpler as it handles oddball cases internally.
Since we have been using mostly lightweight tags I have set it to
search those in addition to annotated tags for the best match. The
output for commits that don't have a tag seems a bit nicer as well.
2013-10-18 15:10:14 -05:00
Bruno Wolff III 2be322d626 Use the higher tag when there are more than one
If two or more tags of the right format point point to
HEAD, we probably want the later of the two.
2013-08-20 21:44:29 -05:00
Bruno Wolff III 12e9f1e583 The publish target should build a tar ball if needed 2013-07-02 22:17:39 -05:00
Bruno Wolff III 314afb81d0 Handle trying to remake the tar ball
Now running make when the tar ball already exists will result
in it not being recreated.
2013-06-29 22:18:08 -05:00
Bruno Wolff III 0ecefe0230 Fix to work with multiple tags
If there are multiple tags pointing to HEAD we need to pick only
one. We'll take one that seems to be a version number. This allows
the version number tag to coexist with another tag, that perhaps
indicates which images it was used to build.
2013-06-29 22:08:06 -05:00
Bruno Wolff III 247595b762 Don't install stuff that ends in the doc directory 2013-06-29 15:59:10 -05:00
Bruno Wolff III 8311504e19 Make directories if needed and use specific permissions 2013-06-29 15:44:34 -05:00
Bruno Wolff III 5149abf0f9 The doc directory is versioned 2013-06-29 15:30:55 -05:00
Bruno Wolff III 15a9a14dff Missing wildcard instances causes a problem 2013-06-29 15:17:50 -05:00
Bruno Wolff III 629a71433c Fix install target
Installing a mix of directories and files on the same install
command doesn't work.
2013-06-29 14:59:42 -05:00
Bruno Wolff III e2a8980bee Use DESTDIR instead of prefix 2013-06-29 14:45:41 -05:00
Bruno Wolff III 89d097db42 Add an install target to the make file
The fedora package uses make install, and it is easier to support that
here rather than in the spec file.
2013-06-29 14:37:50 -05:00
Bruno Wolff III 93e94db57a Fix typo in tar ball name 2013-06-29 13:55:02 -05:00
Bruno Wolff III cb29cc9c18 Add a make publish function 2013-06-29 13:53:08 -05:00
Bruno Wolff III a74dac72d4 Use a git hash for the version if HEAD isn't tagged 2013-06-29 13:44:27 -05:00
Bruno Wolff III 233dc11b5e Add a dist-clean function for a fuller clean up 2013-06-29 12:47:10 -05:00
Bruno Wolff III 1ecb6e9f61 The prefix should end with a / 2013-06-29 12:43:28 -05:00
Bruno Wolff III 1565631961 Have make use tags to name tar ball 2013-06-29 12:42:13 -05:00
Bruno Wolff III ad3a0c5f57 Fix up the Makefile
Some more changes are needed, but at least get the simplified
version working.
2013-06-29 12:22:55 -05:00
Bruno Wolff III 1552a05e2c Switch from using auto tools to just building a new tarball
The previous system required making commits in order to do a new
build. This caused problems because we were using the git repo
directly for fedora builds and we couldn't use that exact version
when building matching packages because of needing to make new
commits in order to do the build.

Having the spec file in here also was unnecessary. It is easy to
just maintain the spec file in the Fedora package.

I still want to do a bit more future work with this to pick up
the version from a git tag.
2013-06-29 12:15:15 -05:00