[pkg-s48-maint] Re: scsh-install-lib: no cleaning facility?

Lionel Elie Mamane lionel at mamane.lu
Mon Aug 15 12:35:55 UTC 2005


On Sun, Aug 14, 2005 at 05:53:42PM +0200, Michel Schinz wrote:
> Le 26 juin 05 à 14:10, Lionel Elie Mamane a écrit :

>> I did my first try at packaging an scsh package as a Debian package
>> today. I realised that the install-lib lacks any "clean" feature -
>> something that would undo what "--phases build" does. That's pretty
>> critical for a Debian package: The build process must be able to
>> undo itself. (That's what "make clean" usually does for
>> Makefile-based build systems.)

> So, I'm back from holidays and took a look at your suggestion. In  
> fact, I have the impression that this will be trivial to implement  
> for me.

Yes :)

> My idea is to add a new phase called "build-clean" to the current
> list.

That's exactly the idea, yeah.

> From the point of view of the library, that phase would behave like
> "build", i.e. nothing is done. It's then the task of package authors
> to handle that phase appropriately if their package contains C code,
> e.g. by invoking "make". To perform cleaning, the installation
> script would need to be called with the option "--phases
> build-clean".

Yup. You might want to name it "clean" instead of "build-clean", to
use the same name as Makefiles usually do, but that's technically
unimportant. (build-clean is arguably a better name)

> Would such a design satisfy you?

Yes.

> If it's the case, I think I can release a new version of the library
> quickly, say in less than a week.

It is my turn to be "away from work" now :) I'm actually at a
conference for two weeks, so I may or may not be able to package your
new version for Debian.

> Apart from that, out of curiosity, I was wondering whether one of
> you (either Lionel Elie or Jorgen) would be be interested in taking
> over the maintenance of that installation library. I will have
> little time to work on it from now on, my interest is not that high
> anymore, and both of you seem to be much more expert than I am on
> the subject. I certainly don't want to force you to accept, but if
> you're interested, please tell me.

The problem I feel for my "application" is that I'm not familiar
enough with Scsh/Scheme48/..., that kind of things. Maybe we could do
that as a team or something like that.

-- 
Lionel



More information about the pkg-scheme48-maintainers mailing list