[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: packagekit



Hi again!

>> I already do this, but the problem is that the script changes files, it
>> does not only create new ones.
>> So I'm completely unable to restore all files.
> 
> No, not *completely*. You can move the files that get modified, build
> everything
> and move them back in the clean target. That's a common trick.
> 
> Another one is to copy all the files in a subdirectory (say, cp -va src
> tgt),
> build the package there and just remove that subdirectory in the clean
> target
> once you're done. This way, the original sources are kept intact.
Funny, a few hours ago I added exactly this for the docs/api folder.
Maybe I'll extend it to restore the other files too.
Thanks!


Reply to: