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. Change-Id: Id951eb2b03629be59f6258e89e8356fe1fde1ff5 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>
This commit is contained in:
parent
7cc6b97ad2
commit
8b68f1a4e1
@ -788,6 +788,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