alirezagh76
July 4th, 2010, 10:51 AM
I would like to delete multiple files with the same name but different extensions in a Makefile. As following
rm $(MAINFILE).{ps,pdf,aux,dvi,log,bbl,blg}
and I get the following error
rm: cannot remove `paper.{ps,pdf,aux,dvi,log,bbl,blg}': No such file or directory
I have done this in opensuse without any error. I tried to reinstall make and install some other packages which could be relevant.
I would be thankful if anyone can help me.
rm $(MAINFILE).{ps,pdf,aux,dvi,log,bbl,blg}
and I get the following error
rm: cannot remove `paper.{ps,pdf,aux,dvi,log,bbl,blg}': No such file or directory
I have done this in opensuse without any error. I tried to reinstall make and install some other packages which could be relevant.
I would be thankful if anyone can help me.