This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Clean up Pod::Html's cache as part of distclean on *nix.
authorNicholas Clark <nick@ccl4.org>
Tue, 7 Feb 2012 16:58:50 +0000 (17:58 +0100)
committerNicholas Clark <nick@ccl4.org>
Wed, 8 Feb 2012 16:59:32 +0000 (17:59 +0100)
This has been done on win32 since commit b4a415570dc258dd in 2006.
However, the new Pod::Html caching code only uses one file, pod2htmd.tmp,
so remove now redundant cleanup code for pod2htmi.tmp.

Makefile.SH
win32/Makefile
win32/makefile.mk

index 4de5de9..b8845da 100755 (executable)
@@ -1316,6 +1316,7 @@ _cleaner2:
        rm -fr lib/B
        rm -fr lib/CPAN lib/CPANPLUS
        rm -fr lib/ExtUtils/CBuilder
+       rm -f pod2htmd.tmp
        rm -rf pod/perlfunc pod/perlipc
        -rmdir cpan/CPANPLUS-Dist-Build/t/dummy-cpanplus cpan/CPANPLUS/t/dummy-cpanplus cpan/CPANPLUS/t/dummy-localmirror
        -rmdir ext/B/lib
index 326376b..3efc70e 100644 (file)
@@ -1197,7 +1197,6 @@ distclean: realclean
        -if exist $(AUTODIR) rmdir /s /q $(AUTODIR)
        -if exist $(COREDIR) rmdir /s /q $(COREDIR)
        -if exist pod2htmd.tmp del pod2htmd.tmp
-       -if exist pod2htmi.tmp del pod2htmi.tmp
        -if exist $(HTMLDIR) rmdir /s /q $(HTMLDIR)
        -del /f ..\t\test_state
 
index ced3d0f..939ac4b 100644 (file)
@@ -1382,7 +1382,6 @@ distclean: realclean
        -if exist $(AUTODIR) rmdir /s /q $(AUTODIR)
        -if exist $(COREDIR) rmdir /s /q $(COREDIR)
        -if exist pod2htmd.tmp del pod2htmd.tmp
-       -if exist pod2htmi.tmp del pod2htmi.tmp
        -if exist $(HTMLDIR) rmdir /s /q $(HTMLDIR)
        -del /f ..\t\test_state