I just executed make xy with the wrong user (root). If I try to execute make xy with the correct user (non-root) I get some errors: file z already exists etc. A sudo make xy has no effect. How can I "revert" a make to delete all these files and create a "innocent" field.

link|improve this question

feedback

1 Answer

up vote 2 down vote accepted

Have you tried the clean target?

make clean
link|improve this answer
No, because I didn't know this command :) I'll try this! – strauberry Jun 22 '11 at 8:41
"Nothing to do for the target 'make'"... so it doesn't work – strauberry Jun 22 '11 at 8:47
You have to run it as root again, just like the "wrong" one before. – slhck Jun 22 '11 at 8:54
1  
If it thought that make was the target, rather than clean, then you didn't run the command properly. – JdeBP Jun 22 '11 at 9:14
Also as root executed the same "nothing to do..." – strauberry Jun 22 '11 at 9:34
show 2 more comments
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.