Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:sschapiro:openstack:upstream
euca2ools
319-fail-on-failed-help2man.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 319-fail-on-failed-help2man.patch of Package euca2ools
Description: man page generation: catch errors, respect PYTHONPATH Author: Scott Moser <scott.moser@canonical.com> Last-Update: 2010-11-29 Upstream: r319 ------------------------------------------------------------ --- a/Makefile +++ b/Makefile @@ -50,7 +50,14 @@ man: $(BINLIST) @echo "Re-generating manpages..." - @if ( ! which help2man > /dev/null ); then echo "You'll need to install help2man to re-generate the manpages"; else mkdir -p $(MANDIR); rm -rf $(MANDIR)/*; export PYTHONPATH=$(CURDIR)/euca2ools; for x in $(BINLIST); do DESCR=`$$x --help | head -n2 | tail -n1`; help2man $$x -N -o $(MANDIR)/`basename $$x`.1 -n "Eucalyptus tool: $${DESCR} " ; done; fi + @which help2man > /dev/null || { echo "You'll need to install help2man to re-generate the manpages"; exit 1; } + @mkdir -p $(MANDIR); + @rm -rf $(MANDIR)/*; + @export PYTHONPATH=$(CURDIR)/euca2ools$${PYTHONPATH:+:${PYTHONPATH}}; \ + for x in $(BINLIST); do echo " $${x##*/}"; \ + DESCR=`$$x --help | head -n2 | tail -n1`; \ + help2man $$x -N -o "$(MANDIR)/$${x##*/}.1" -n "Eucalyptus tool: $${DESCR} " || exit; \ + done install: build @for subdir in $(SUBDIRS); do \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor