]> sourceware.org Git - automake.git/commitdiff
Bug fixes
authorTom Tromey <tromey@redhat.com>
Wed, 29 Nov 1995 18:11:30 +0000 (18:11 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 29 Nov 1995 18:11:30 +0000 (18:11 +0000)
automake.in

index dcccef4efa37444eccaf860fb8e735daaa9caeba..dae99185e24d6d3538da5665bab94c0e6ab4d334 100755 (executable)
@@ -559,20 +559,20 @@ sub handle_texinfo
 
 # Helper text for dealing with man pages.
 $install_man_format =
-    '  sect=@SECTION@;                         \
-       inst=`echo "@MAN@" | sed '$(transform)'`.@FULLSECT@; \
-       echo installing @MAN@ as $(mandir)/man$$sect/$$inst; \
-       $(INSTALL_DATA) $(srcdir)/@MAN@ $(mandir)/man$$sect/$$inst; \
-       if test -d $(mandir)/cat$$sect; then    \
-         echo formatting @MAN@ as $(mandir)/cat$$sect/$$inst;  \
-         $(NROFF) -man $(srcdir)/@MAN@ > $(mandir)/cat$$sect/$$inst; \
-       else                                    \
-         true;                                 \
+    '  sect=@SECTION@;                         \\
+       inst=`echo "@MAN@" | sed \'$(transform)\'`.@FULLSECT@; \\
+       echo installing @MAN@ as $(mandir)/man$$sect/$$inst; \\
+       $(INSTALL_DATA) $(srcdir)/@MAN@ $(mandir)/man$$sect/$$inst; \\
+       if test -d $(mandir)/cat$$sect; then    \\
+         echo formatting @MAN@ as $(mandir)/cat$$sect/$$inst;  \\
+         $(NROFF) -man $(srcdir)/@MAN@ > $(mandir)/cat$$sect/$$inst; \\
+       else                                    \\
+         true;                                 \\
        fi
 ';
 
 $uninstall_man_format =
-    '  inst=`echo "@MAN@" | sed '$(transform)'`.@FULLSECT@; \
+    '  inst=`echo "@MAN@" | sed \'$(transform)\'`.@FULLSECT@; \\
        rm -f $(mandir)/man@SECTION@/$$inst $(mandir)/cat@SECTION@/$$inst
 ';
 
@@ -605,7 +605,7 @@ sub handle_man_pages
 
     # Generate install target.
     local ($key);
-    foreach key (keys %inames)
+    foreach $key (keys %inames)
     {
        $_ = $install_man_format;
        s/@SECTION@/$secmap{$key}/g;
This page took 0.028358 seconds and 5 git commands to generate.