cd icc2ps; make all make[1]: Entering directory `/home/msp/private/works/foo/foo2zjs/icc2ps' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/msp/private/works/foo/foo2zjs/icc2ps' # # Install driver, wrapper, and development tools # install -c foo2zjs zjsdecode jbg2pbm arm2hpdl usb_printerid foo2oak oakdecode foo2zjs-wrapper foo2oak-wrapper /usr/bin/ # # Install gamma correction files. These are just templates, # and don't actually do anything right now. If anybody wants # to tune them or point me at a process for doing that, please... # install -d /usr/share/foo2zjs/ install -c -m 644 gamma.ps /usr/share/foo2zjs/ install -c -m 644 gamma-lookup.ps /usr/share/foo2zjs/ install -d /usr/share/foo2oak/ # # Install ICM to Postscript file conversion utility # cd icc2ps; make PREFIX=/usr install make[1]: Entering directory `/home/msp/private/works/foo/foo2zjs/icc2ps' install -c foo2zjs-icc2ps /usr/bin make[1]: Leaving directory `/home/msp/private/works/foo/foo2zjs/icc2ps' # # Install extra files (ICM and firmware), if any exist here. # # Get files from the printer manufacturer, i.e. www.minolta-qms.com, # or use the "./getweb" convenience script. # install -d /usr/share/foo2zjs/ # foo2zjs ICM files (if any) install -olp -glp -m 775 -d /usr/share/foo2zjs/icm/ for i in DL*.icm CP*.icm; do \ if [ -f $i ]; then \ install -c -m 644 $i /usr/share/foo2zjs/icm/; \ fi; \ done # foo2zjs Firmware files (if any) install -olp -glp -m 775 -d /usr/share/foo2zjs/firmware/ for i in sihp*.img; do \ if [ -f $i ]; then \ base=`basename $i .img`; \ ./arm2hpdl $i >$base.dl; \ install -c -m 644 $base.dl /usr/share/foo2zjs/firmware/; \ fi; \ done # foo2oak ICM files (if any) install -olp -glp -m 775 -d /usr/share/foo2oak/icm/ # # Install prebuilt CRD files (from m2300w project) # install -d /usr/share/foo2zjs/ install -olp -glp -m 775 -d /usr/share/foo2zjs/crd/ for i in crd/*.*; do \ install -c -m 644 $i /usr/share/foo2zjs/crd/; \ done # # Remove obsolete foomatic database files from previous versions # rm -f /usr/share/foomatic/db/source/opt/foo2zjs-Media.xml rm -f /usr/share/foomatic/db/source/opt/foo2zjs-PaperSize.xml rm -f /usr/share/foomatic/db/source/opt/foo2zjs-Source.xml rm -f /usr/share/foomatic/db/source/opt/foo2zjs-DitherPPI.xml # # Install current database files # install -m 644 foomatic-db/driver/foo2oak.xml foomatic-db/driver/foo2zjs.xml /usr/share/foomatic/db/source/driver/ install -m 644 foomatic-db/printer/Generic-OAKT_Printer.xml foomatic-db/printer/Generic-ZjStream_Printer.xml foomatic-db/printer/HP-Color_LaserJet_1500.xml foomatic-db/printer/HP-LaserJet_1000.xml foomatic-db/printer/HP-LaserJet_1005.xml foomatic-db/printer/Minolta-Color_PageWorks_Pro_L.xml foomatic-db/printer/Minolta-magicolor_2200_DL.xml foomatic-db/printer/Minolta-magicolor_2300_DL.xml /usr/share/foomatic/db/source/printer/ install -m 644 foomatic-db/opt/foo2oak-BitsPerPlane.xml foomatic-db/opt/foo2oak-ColorMode.xml foomatic-db/opt/foo2oak-ICM.xml foomatic-db/opt/foo2oak-InputSlot.xml foomatic-db/opt/foo2oak-MediaType.xml foomatic-db/opt/foo2zjs-ColorMode.xml foomatic-db/opt/foo2zjs-Copies.xml foomatic-db/opt/foo2zjs-Duplex.xml foomatic-db/opt/foo2zjs-ICM.xml foomatic-db/opt/foo2zjs-InputSlot.xml foomatic-db/opt/foo2zjs-Intent.xml foomatic-db/opt/foo2zjs-MediaType.xml foomatic-db/opt/foo2zjs-Nup.xml foomatic-db/opt/foo2zjs-PageSize.xml foomatic-db/opt/foo2zjs-PrinterType.xml foomatic-db/opt/foo2zjs-Resolution.xml /usr/share/foomatic/db/source/opt/ # # Clear foomatic cache and rebuild database if needed # rm -rf /var/cache/foomatic/*/* if [ -d /var/cache/foomatic/compiled ]; then \ cd /var/cache/foomatic/compiled; \ foomatic-combo-xml -O >overview.xml; \ fi # # Install PPD files for CUPS # if [ -d /usr/share/cups/model ]; then \ cd PPD; \ for ppd in *.ppd; do \ gzip < $ppd > /usr/share/cups/model/$ppd.gz; \ done; \ fi # # Install manual pages # install -d -m 755 /usr/share/man install -d -m 755 /usr/share/man/man1/ install -c -m 644 foo2zjs.1 /usr/share/man/man1/ install -c -m 644 foo2zjs-wrapper.1 /usr/share/man/man1/ install -c -m 644 zjsdecode.1 /usr/share/man/man1/ install -c -m 644 foo2oak.1 /usr/share/man/man1/ install -c -m 644 foo2oak-wrapper.1 /usr/share/man/man1/ install -c -m 644 oakdecode.1 /usr/share/man/man1/ # # Install documentation # install -d -m 755 /usr/share/doc/foo2zjs/ install -c -m 644 COPYING /usr/share/doc/foo2zjs/ install -c -m 644 INSTALL /usr/share/doc/foo2zjs/ install -c -m 644 INSTALL.osx /usr/share/doc/foo2zjs/ install -c -m 644 README /usr/share/doc/foo2zjs/ install -c -m 644 ChangeLog /usr/share/doc/foo2zjs/ # # Now use your printer configuration GUI to create a new printer. # # On Redhat 7.2/7.3/8.0/9.0 and Fedora Core 1, run "printconf-gui". # On Mandrake, run "printerdrake" # On Suse 9.0, run "yast"