|
From: <oli...@ce...> - 2015-12-09 13:15:10
|
Author: olahaye74 Date: 2015-12-09 08:15:00 EST (Wed, 09 Dec 2015) New Revision: 11097 URL: https://svn.oscar.openclustergroup.org/trac/oscar/changeset/11097 Log: [oscar-packager: doc] Fix POD doc and Man generation Text files modified: pkgsrc/oscar-packager/trunk/bin/Makefile | 3 ++- pkgsrc/oscar-packager/trunk/bin/oscar-packager | 4 ++++ 2 files changed, 6 insertions(+), 1 deletions(-) Modified: pkgsrc/oscar-packager/trunk/bin/Makefile ============================================================================== --- pkgsrc/oscar-packager/trunk/bin/Makefile Wed Dec 9 07:40:20 2015 (r11096) +++ pkgsrc/oscar-packager/trunk/bin/Makefile 2015-12-09 08:15:00 EST (Wed, 09 Dec 2015) (r11097) @@ -4,11 +4,12 @@ include $(TOPDIR)/Config.mk SCRIPTS := oscar-packager build_rpms build_package +POD_FILES := oscar-packager build_package SUBDIRS := doc: install -d -m 0755 $(DESTDIR)$(MANDIR)/man1/ - for bin in ${SCRIPTS} ; do ( pod2man --section=1 $$bin $(DESTDIR)$(MANDIR)/man1/$$bin.1 ) ; done + for bin in ${POD_FILES} ; do ( pod2man --section=1 $$bin $(DESTDIR)$(MANDIR)/man1/$$bin.1 ) ; done all: for dir in ${SUBDIRS} ; do ( cd $$dir ; ${MAKE} all ) ; done Modified: pkgsrc/oscar-packager/trunk/bin/oscar-packager ============================================================================== --- pkgsrc/oscar-packager/trunk/bin/oscar-packager Wed Dec 9 07:40:20 2015 (r11096) +++ pkgsrc/oscar-packager/trunk/bin/oscar-packager 2015-12-09 08:15:00 EST (Wed, 09 Dec 2015) (r11097) @@ -861,6 +861,8 @@ =head1 EXAMPLES +=over 8 + =item oscar-packager --all stable_6.1.2 Build all the packages and opkgs in the stable_6.1.2 category. If the packages have already been built, they would not be re-built unless the "--force" option is applied. @@ -871,6 +873,8 @@ =item oscar-packager --included unstable --force Build all the included packages and opkgs in the unstable category no matther whether they have already been built or not. +=back + =head1 AUTHORS Geoffroy Vallee, Oak Ridge National Laboratory <valleegr at ornl dot gov> |