]> thyrsus.com Git - imgsizer.git/commitdiff
Ready to ship.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 25 Apr 2003 13:18:15 +0000 (13:18 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 25 Apr 2003 13:18:15 +0000 (13:18 +0000)
Makefile
README
imgsizer.xml

index b72b78b51c15b5f76c9c22d815019a3f19625aa0..b5accb1c47725d314a846fdcc8245125aa75f57f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ imgsizer.1: imgsizer.xml
        xmlto man imgsizer.xml
 
 SOURCES = READ.ME Makefile \
-       imgsizer imgsizer.xml imgsizer.lsm \
+       imgsizer imgsizer.xml \
        test-before.html test-converted.html test.png tnhd2.jpg
 
 imgsizer-$(VERS).tar.gz: $(SOURCES) imgsizer.1 
@@ -40,7 +40,7 @@ dist: imgsizer-$(VERS).tar.gz
 
 # Make RPMs.  You need to be root to make this work
 RPMROOT=/usr/src/redhat
-RPM = rpm
+RPM = rpmbuild
 RPMFLAGS = -bb --target noarch
 rpm: imgsizer-$(VERS).tar.gz
        cp imgsizer-$(VERS).tar.gz $(RPMROOT)/SOURCES;
diff --git a/README b/README
index dca5fa21b3a6377f611983487344eaaef80a312a..6ff75db1ff40cb7c6335fb111b5cdf0d5ac95b3b 100644 (file)
--- a/README
+++ b/README
@@ -13,7 +13,8 @@ Files in this directory:
        imgsizer.lsm    -- Linux Software Map description.
 
 Put imgsizer on your execution path and the man page in a man source
-directory somewhere.  That's it.
+directory somewhere.  `make install' will do the right hing on a Linux box. 
+That's it.
 
 You will need either identify(1) from the ImageMagick tools or
 rdjpgcom(1) and a modern version of file(1) to make this work.  If you
@@ -25,7 +26,7 @@ Usual open-source terms -- copy, use, and redistribute as you like,
 don't take my name off it, and clearly mark any modified versions.
 Fixes and enhancements cheerfully accepted.  Enjoy!
                                                -- esr
-                                               http://www.tuxedo.org/~esr
+                                               http://www.catb.org/~esr
 
 
 
index b1f067db11eabb812673ce0c055e7b3391de1289..f18254141a22dddac42c6bede1a275782bd52883 100644 (file)
@@ -54,7 +54,7 @@
 </cmdsynopsis>
 </term>
 <listitem>
-<para>Directory where aboslute image filenames (i.e, ones which contain
+<para>Directory where absolute image filenames (i.e, ones which contain
 a leading "/") may be found.</para>
 </listitem>
 </varlistentry>
@@ -76,7 +76,6 @@ to load much faster.</para>
 </varlistentry>
 </variablelist>
 
-
 <para>This script will try create such attributes for any IMG tag that lacks
 them.  It will correct existing HEIGHT and WIDTH tags unless either
 contains a percent (%) sign, in which case the existing dimensions
@@ -89,17 +88,19 @@ arguments, it will attempt to transform each file in place.  Each
 argument file is not actually modified until the script completes a
 successful conversion pass.</para>
 
-<para>The <option>-d</option> &lt;directory&gt; option sets the DocumentRoot, which images with an
-absolute filename (i.e., ones which contain a leading "/") may be found.
-If none is specified, the DocumentRoot defaults to the current working
-directory.</para>
+<para>The <option>-d</option> &lt;directory&gt; option sets the
+DocumentRoot, which images with an absolute filename (i.e., ones which
+contain a leading "/") may be found.  If none is specified, the
+DocumentRoot defaults to the current working directory.</para>
 
 <para>The -n (no-overwrite) opion prevents the program from overwriting 
 existing width and height tags if both are present.</para>
 
-<para>Additional options may also be specified in the environmental variable
-"IMGSIZER".  For example, to avoid typing "imgsizer <option>-d</option> /var/www/docs" each
-time <command>imgsizer</command> is invoked, you might tell sh (or one of its descendants):</para>
+<para>Additional options may also be specified in the environmental
+variable "IMGSIZER".  For example, to avoid typing "imgsizer
+<option>-d</option> /var/www/docs" each time
+<command>imgsizer</command> is invoked, you might tell sh (or one of
+its descendants):</para>
 
 <para remap='RS'>
 IMGSIZER="-d /var/www/docs"; export IMGSIZER
@@ -111,22 +112,21 @@ IMGSIZER="-d /var/www/docs"; export IMGSIZER
 setenv IMGSIZER "-d /var/www/docs"
 </para> <!-- RE -->
 
-<para>This script is written in Python, and thus requires a Python interpreter
-on the host system.  It also requires either the 
+<para>This script is written in Python, and thus requires a Python
+interpreter on the host system.  It also requires either the
 <citerefentry><refentrytitle>identify</refentrytitle><manvolnum>1</manvolnum></citerefentry>
-utility distributed in the open-source ImageMagick suite of image-display
-and manipulation tools, or a modern
-version of
+utility distributed in the open-source ImageMagick suite of
+image-display and manipulation tools, or a modern version of
 <citerefentry><refentrytitle>file</refentrytitle><manvolnum>1</manvolnum></citerefentry>
-and 
+and
 <citerefentry><refentrytitle>rdjpgcom</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
-These  utilities are used to extract sizes from the images;
-<command>imgsizer</command>
-itself has no knowledge of graphics formats.  The script will handle any
-image format known to 
+These utilities are used to extract sizes from the images;
+<command>imgsizer</command> itself has no knowledge of graphics
+formats.  The script will handle any image format known to
 <citerefentry><refentrytitle>identify</refentrytitle><manvolnum>1</manvolnum></citerefentry>
-including PNG, GIF, JPEG, XBM, XPM, PostScript, BMP, TIFF, and anything else
-even remotely likely to show up as an inline image.</para>
+including PNG, GIF, JPEG, XBM, XPM, PostScript, BMP, TIFF, and
+anything else even remotely likely to show up as an inline
+image.</para>
 
 </refsect1>
 
@@ -138,7 +138,7 @@ used to do has been made unnecessary by smarter logic.</para>
 <refsect1 id='author'><title>AUTHOR</title>
 <para>Originally created by Eric S. Raymond &lt;esr@thyrsus.com&gt;.  Additional code
 contributed by Erik Rossen and Michael C. Toren &lt;michael@toren.net&gt;.
-For updates, see &lt;<ulink url='http://www.tuxedo.org/~esr'>http://www.tuxedo.org/~esr</ulink>&gt;</para>
+For updates, see &lt;<ulink url='http://www.catb.org/~esr'>http://www.catb.org/~esr</ulink>&gt;</para>
 </refsect1>
 
 <refsect1 id='see_also'><title>SEE ALSO</title>