[Rd] Makevars clean target not in action?
Randy Lai
randy.cs.lai at gmail.com
Sun Mar 23 08:10:31 CET 2014
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
More information about the R-devel
mailing list