2003-10-04 16:58:56 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>a2ps</application></title>
|
|
|
|
|
|
|
|
|
|
|
|
<para>Install <application>a2ps</application> by running the following commands:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput><command>cd contrib &&
|
|
|
|
cp Makefile.in Makefile.in.orig &&
|
|
|
|
sed -e "s:emacs::" Makefile.in.orig > Makefile.in &&
|
|
|
|
cd .. &&
|
|
|
|
cp configure{,.orig} &&
|
|
|
|
sed -e 's|/usr/local/share/ghostscript|/usr/share/ghostscript|g' \
|
2003-12-03 20:42:45 +08:00
|
|
|
configure.orig > configure &&
|
2003-10-04 16:58:56 +08:00
|
|
|
./configure --prefix=/usr \
|
2003-12-03 20:42:45 +08:00
|
|
|
--sysconfdir=/etc/a2ps --localstatedir=/var &&
|
2003-10-04 16:58:56 +08:00
|
|
|
make &&
|
|
|
|
make install</command></userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|