maintainer-clean no longer supported?

Claus Reinke claus.reinke at talk21.com
Sun Sep 21 19:33:07 EDT 2008


According to Makefile, the following clean target variants are available:

    #       clean, distclean, maintainer-clean
    #               Increasing levels of cleanliness

but 'make maintainer-clean' fails early, with

    == make maintainer-clean - --unix -r;
     in /cygdrive/d/fptools/ghc/compiler
    ------------------------------------------------------------------------
    make[1]: *** No rule to make target `maintainer-clean'.  Stop.
    Failed making maintainer-clean in compiler: 1
    make: *** [maintainer-clean] Error 1

while 'make distclean' leaves the following (using 'darcs wh -l' 
with a temporary .darcs-boring to ignore sub-repos, gmp/, and
binary dists):

    a ./configure
    a ./driver/ghci/ghci.exe
    a ./ghc.spec
    a ./ghc/gcc-lib/
    a ./ghc/gcc-lib/ld.exe
    a ./ghc/inplace-datadir/
    a ./ghc/inplace-datadir/package.conf
    a ./libraries/cabal-bin.exe.manifest
    a ./mk/config.h.in
    a ./rts/sm/Evac_thr.c
    a ./rts/sm/Scav_thr.c
    a ./stamp.inplace-gcc-lib
    a ./utils/genapply/genapply.exe
    a ./utils/genapply/genapply.exe.manifest
    a ./utils/genprimopcode/genprimopcode.exe
    a ./utils/genprimopcode/genprimopcode.exe.manifest
    a ./utils/hp2ps/hp2ps.exe
    a ./utils/pwd/pwd.exe.manifest
    a ./utils/touchy/touchy.exe
    a ./utils/unlit/unlit.exe

Is there any full cleaning of generated files only? Removing all 
non-darcs files would remove some files I'd like to keep (though
protecting those via a temporary .darcs-boring file might work,
that would be specific to each user). Or is copying via darcs 
(then copying extra stuff like mk/build.mk, directories for logs,
etc by hand) the only supported method at the moment?

Claus




More information about the Cvs-ghc mailing list