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

Re: How to remove an entire directory (and included files) with a quilt patch?



* Andrew Shadura <bugzilla@tut.by>, 2011-12-13, 08:41:
What is the correct way to remove an entire directory and it's contained files with a quilt patch?
Why not do that in debian/rules ?
So you would patch the one file that needs patching, and remove the whole directory from debian/rules, am I following you right?

How would I go about removing that directory? i.e. what call do I need to add to debian/rules?

Doesn't debian/clean work for you?

You can't remove a directory via debian/clean.

Also, debian/clean is used by dh_clean, which is normally called in the clean target. But the clean target is not guaranteed to be run before building the package. (Unpacked source is supposed to be already clean.)

--
Jakub Wilk


Reply to: