Hi, developers

When I run `R CMD INSTALL --clean my_package`, only the .o files and the .so 
file are removed, however, they were deleted not because of the clean target 
defined in Makevars.
The clean target was indeed not executed.

I have the following simple Marvars to show that clean target is not 
functioning.

Makevars
-----------------------------

all: foo $(SHLIB)

clean: 
        rm -f *.o $(SHLIB)
        rm -f b

foo:
        touch b


After I run ``R CMD INSTALL --clean my_package``, the file `b` is still there.

Any thought?

Best,
Randy
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to