[Bug 662269] Review Request: dpic - A compiler for the pic language

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=662269

Jussi Lehtola <jussi.lehtola@xxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jussi.lehtola@xxxxxx

--- Comment #1 from Jussi Lehtola <jussi.lehtola@xxxxxx> 2010-12-11 10:46:41 EST ---
Might I suggest cleaning up the spec file with e.g. by replacing the long
example building bit with a simple

# Add current directory to path
export PATH=$PATH:`pwd`
# Build examples
pushd examples
for target in epic pstricks pgf pdf mfpic overlay metapost; do
 make $target
 mv tst.ps example-$target.ps
done
for target in psfrag postscript; do
 make $target
 mv tst.ps example-$target.ps
 mv diag.eps example-$target.eps
done
for target in xfig; do
 make $target
 mv diag.fig example-$target.fig
done
# Clean up temporary files
rm tst-mfpic.* tst.* diag.*
# Return to parent directory
popd

***

If you want to add numbering, you can do it with e.g.

n=0
for target in epic pstricks pgf pdf mfpic overlay metapost; do
 let n=n+1
 make $target
 mv tst.ps example-${n}-${target}.ps
done

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review


[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]