'make distclean now results in an actually-clean tree.
Jesse Vincent [Sat, 3 Oct 2009 21:18:19 +0000 (06:18 +0900)]
Makefile.SH
dist/XSLoader/Makefile.PL
x2p/Makefile.SH

index 42733de..150c60e 100644 (file)
@@ -1201,7 +1201,7 @@ _mopup:
        -rm -f cygwin.c libperl*.def libperl*.dll cygperl*.dll *.exe.stackdump
        -rm -f perl$(EXE_EXT) $(MINIPERL_EXE) $(LIBPERL) libperl.* microperl
        -rm -f opcode.h-old opnames.h-old pp.sym-old pp_proto.h-old
-       -rm -f config.arch config.over $(DTRACE_H)
+       -rm -f config.arch config.over $(DTRACE_H) runtests
 
 # Do not 'make _tidy' directly.
 _tidy:
@@ -1264,7 +1264,7 @@ _cleaner2:
        -rm -f lib/ExtUtils/ParseXS/t/libXSTest.dll.a
 
 _realcleaner:
-       @$(LDLIBPTH) $(MAKE) _cleaner1 CLEAN=realclean
+       @$(LDLIBPTH) $(MAKE) _cleaner1 CLEAN=distclean
        @$(LDLIBPTH) $(MAKE) _cleaner2
 
 _verycleaner:
index 0383532..a06d7cc 100644 (file)
@@ -40,7 +40,7 @@ WriteMakefile(
         'Test::More' => '0.62',
     },
     dist            => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
-    clean           => { FILES => 'XSLoader-*' },
+    clean           => { FILES => 'XSLoader-* XSLoader.pm' },
 );
 
 # Unlink the .pm file included with the distribution
index ba56c49..296fdc8 100755 (executable)
@@ -143,6 +143,8 @@ a2p$(OBJ_EXT): a2p.c a2py.c a2p.h EXTERN.h util.h INTERN.h \
 clean:
        rm -f a2p$(EXE_EXT) psed *$(OBJ_EXT) $(plexe) $(plc) $(plm)
 
+distclean: veryclean
+
 realclean: clean
        -rmdir .depending
        rm -f core $(addedbyconf) all malloc.c