Skip to content
Snippets Groups Projects
Commit 66cbe45b authored by Moe Jette's avatar Moe Jette
Browse files

build/install sjobexitmod man page in the sjobexit RPM

parent 9a4cb921
No related branches found
No related tags found
No related merge requests found
...@@ -438,6 +438,9 @@ rm -f $RPM_BUILD_ROOT/%{_perlarchlibdir}/perllocal.pod ...@@ -438,6 +438,9 @@ rm -f $RPM_BUILD_ROOT/%{_perlarchlibdir}/perllocal.pod
rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/srun_cr* ${RPM_BUILD_ROOT}%{_bindir}/srun_cr ${RPM_BUILD_ROOT}%{_libexecdir}/slurm/cr_* rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/srun_cr* ${RPM_BUILD_ROOT}%{_bindir}/srun_cr ${RPM_BUILD_ROOT}%{_libexecdir}/slurm/cr_*
%endif %endif
# Build man pages that are generated directly by the tools
rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/sjobexitmod.1
${RPM_BUILD_ROOT}%{_bindir}/sjobexitmod --roff >$RPM_BUILD_ROOT/%{_mandir}/man1/sjobexitmod.1
# Build conditional file list for main package # Build conditional file list for main package
LIST=./slurm.files LIST=./slurm.files
...@@ -546,6 +549,7 @@ rm -rf $RPM_BUILD_ROOT ...@@ -546,6 +549,7 @@ rm -rf $RPM_BUILD_ROOT
%config %{_sysconfdir}/cgroup.release_agent %config %{_sysconfdir}/cgroup.release_agent
%config %{_sysconfdir}/slurm.conf.example %config %{_sysconfdir}/slurm.conf.example
%config %{_sysconfdir}/slurm.epilog.clean %config %{_sysconfdir}/slurm.epilog.clean
%exclude %{_mandir}/man1/sjobexitmod.1
%if %{slurm_with blcr} %if %{slurm_with blcr}
%exclude %{_mandir}/man1/srun_cr* %exclude %{_mandir}/man1/srun_cr*
%exclude %{_bindir}/srun_cr %exclude %{_bindir}/srun_cr
...@@ -697,6 +701,7 @@ rm -rf $RPM_BUILD_ROOT ...@@ -697,6 +701,7 @@ rm -rf $RPM_BUILD_ROOT
%files sjobexit %files sjobexit
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/sjobexitmod %{_bindir}/sjobexitmod
%{_mandir}/man1/sjobexitmod.1
############################################################################# #############################################################################
%files slurmdb-direct %files slurmdb-direct
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment