git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@641 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
24
tools/pymol_asphere/src/make_manpages.sh
Executable file
24
tools/pymol_asphere/src/make_manpages.sh
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/tcsh
|
||||
|
||||
set execs="asphere_vis"
|
||||
set execdir="../bin"
|
||||
|
||||
if ( -e ../doc ) then
|
||||
echo Manpage directory exists...
|
||||
else
|
||||
echo Creating directory 'manpages'
|
||||
mkdir ../doc
|
||||
endif
|
||||
|
||||
cd ../doc
|
||||
|
||||
foreach exec ($execs)
|
||||
$execdir/$exec -h > $exec.manpage
|
||||
eqn $exec.manpage > $exec.1
|
||||
man -t -p eqn ./$exec.manpage > $exec.ps
|
||||
ps2pdf $exec.ps $exec.pdf
|
||||
end
|
||||
|
||||
cd ../src
|
||||
|
||||
|
||||
Reference in New Issue
Block a user