home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / c / cpp2latx.zip / MKPT < prev    next >
Text File  |  1991-12-16  |  508b  |  21 lines

  1. #!/bin/csh -f
  2. echo "#################################################"
  3. echo "# Pretty printing rules generated automagically"
  4. echo "# on `date` by `whoami`"
  5. echo "# using joke's *mkpt* csh script..."
  6. echo "# Now just type in: *make pretty*"
  7. echo "#################################################"
  8. echo "DVIS = \"
  9. foreach i ($argv)
  10.     if ("$i" != "$argv[$#argv]") then
  11.         echo "    $i.dvi    \"
  12.     else
  13.         echo "    $i.dvi"
  14.     endif
  15. end
  16. echo ""
  17. echo "SimpleDviTarget(pretty)"
  18. foreach i ($argv)
  19.     echo "MakeDviFromSrc($i)"
  20. end
  21.