\def\batchfile{graphics.ins}
\input docstrip

\keepsilent

% The packages

\generateFile{graphics.sty}{f}{\from{graphics.dtx}{package}}

\generateFile{color.sty}{f}{\from{color.dtx}{package}}

\generateFile{graphicx.sty}{f}{\from{graphicx.dtx}{package}}

\generateFile{trig.sty}{f}{\from{trig.dtx}{package}}

\generateFile{keyval.sty}{f}{\from{keyval.dtx}{package}}

\generateFile{epsfig.sty}{f}{\from{epsfig.dtx}{package}}

% reference colour drivers

\generateFile{ref0.col}{f}{\from{refcol.dtx}{ref0}}
\generateFile{ref1.col}{f}{\from{refcol.dtx}{ref1}}
\generateFile{ref2.col}{f}{\from{refcol.dtx}{ref2}}
\generateFile{ref2b.col}{f}{\from{refcol.dtx}{ref2b}}
\generateFile{ref3.col}{f}{\from{refcol.dtx}{ref3}}


\generateFile{dvi2ps.def}{f}{%
   \from{drivers.dtx}{dvi2ps,psrules}}
\generateFile{dvialw.def}{f}{%
   \from{drivers.dtx}{dvialw,psrules}}
\generateFile{dvilaser.def}{f}{%
   \from{drivers.dtx}{dvilaser,psrules}}
\generateFile{dvips.def}{f}{%
   \from{drivers.dtx}{dvips,pscolor,psrulesZ,dosrules}}
\generateFile{dvipsone.def}{f}{%
   \from{drivers.dtx}{tiffrules,dvipsone,pscolor,pscolorsimple,colfix,psrules}}
\generateFile{dvitops.def}{f}{%
   \from{drivers.dtx}{dvitops,psrules}}
\generateFile{dvitps.def}{f}{%
   \from{drivers.dtx}{dvitps,psrules}}
\generateFile{dviwin.def}{f}{%
   \from{drivers.dtx}{dviwin,dosrules}}
\generateFile{dviwindo.def}{f}{%
   \from{drivers.dtx}{dviwindo,colfix,tiffrules,dosrules,psrules}}
\generateFile{emtex.def}{f}{%
   \from{drivers.dtx}{emtex,dosrules}}
\generateFile{oztex.def}{f}{%
   \from{drivers.dtx}{oztex,macrules}}
\generateFile{pubps.def}{f}{%
   \from{drivers.dtx}{pubps,psrules}}
\generateFile{textures.def}{f}{%
   \from{drivers.dtx}{textures,pscolor,pscolorsimple,colfix,macrules}}
\generateFile{xdvi.def}{f}{%
   \from{drivers.dtx}{xdvi}}
