mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 06:50:12 +00:00
build: Add rpm target
Add a top-level makefile target to build RPMs for Red Hat distributions
from the currently checked out commit. The resulting rpms are placed in
the packages/rpmbuild/RPMS/<arch> directory.
The rpm target is intended to be a convenience for testing changes to
the rpm packaging or generating packages for local testing.
Reviewed-on: https://gerrit.openafs.org/14114
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit 8b68f1a4e1
)
Change-Id: I31fcd579d9610303cb44b4813ecaf8dd00e09e7e
Reviewed-on: https://gerrit.openafs.org/15514
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
This commit is contained in:
parent
f9db826205
commit
a50282c70f
@ -766,6 +766,10 @@ srpm: dist
|
||||
packages/openafs-*-src.tar.bz2 \
|
||||
packages/openafs-*-doc.tar.bz2
|
||||
|
||||
rpm: srpm
|
||||
rpmbuild --rebuild --define "_topdir @TOP_OBJDIR@/packages/rpmbuild" \
|
||||
packages/openafs-*.src.rpm
|
||||
|
||||
dox:
|
||||
if test "x$(DOXYGEN)" != "x"; then \
|
||||
mkdir -p doc/doxygen/output && $(DOXYGEN) doc/doxygen/Doxyfile; \
|
||||
|
Loading…
Reference in New Issue
Block a user