dtdparse-commits
[Top] [All Lists]

[Dtdparse-commits] CVS: SGML-DTDParse Makefile.PL,2.2,2.3 dev.mk,2.3,2.4

2005-07-16 16:45:14
Update of SGML-DTDParse
Modified Files:
      Tag: 2
	Makefile.PL dev.mk 
Log Message:
Replace of setting PERL5LIB to using -I perl command-line option.
This way, PERL5LIB is preserved from the calling processing
(which will be useful during the release process).


======================================================================
FILE: SGML-DTDParse/Makefile.PL

--- Makefile.PL	16 Jul 2005 03:29:33 -0000	2.2
+++ Makefile.PL	16 Jul 2005 23:41:54 -0000	2.3
@@ -56,5 +56,5 @@
                     example/dtdparse-dtd/html \\
                     example/dtdparse-dtd/refentry
-        PERL5LIB=lib \$(PERL) bin/dtdparse \\
+        \$(PERL) -Ilib bin/dtdparse \\
             --public-id "-//Norman Walsh//DTD DTDParse V2.0//EN" \\
             --system-id dtd.dtd \\
@@ -63,9 +63,9 @@
             --output example/dtdparse-dtd/dtd.xml \\
             etc/dtd.dtd
-        PERL5LIB=lib \$(PERL) bin/dtdformat \\
+        \$(PERL) -Ilib bin/dtdformat \\
             --base-dir example/dtdparse-dtd/html \\
             --html \\
             example/dtdparse-dtd/dtd.xml
-        PERL5LIB=lib \$(PERL) bin/dtdformat \\
+        \$(PERL) -Ilib bin/dtdformat \\
             --base-dir example/dtdparse-dtd/refentry \\
             --refentry \\

======================================================================
FILE: SGML-DTDParse/dev.mk

--- dev.mk	16 Jul 2005 22:02:21 -0000	2.3
+++ dev.mk	16 Jul 2005 23:41:54 -0000	2.4
@@ -62,7 +62,7 @@
 version-check:
         @if [ "$(_SNAP_MODE)" != "1" ]; then \
-          PERL5LIB=$(TOP)/lib \
-            $(PERL) etc/version-check.pl "$(_RELEASE_VERSION)" \
-                    lib/SGML/DTDParse.pm; \
+          $(PERL) -I$(TOP)/lib \
+                  etc/version-check.pl "$(_RELEASE_VERSION)" \
+                  lib/SGML/DTDParse.pm; \
         fi