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

Re: help with seamonkey



On Fri, May 12, 2006 at 09:46:06AM -0600, Joseph Smidt wrote:
>      However I am having trouble writing the rules file.  First, there is
> no 'make clean' aor 'make distclean' that initially works.  You have to
> configure one like 'make -f client.mk distclean build'.  After typing that
> command distclean works.

You have two options then.  Either you assume a clean tree if no Makefile
exists, or you create one and use it.  Personally I usually choose the former,
because otherwise the buildds are wasting their time on clean sources.  Of
course the latter is more correct, though.

> Also, the Makefile wants the directory all the files are in to be named
> mozilla but I want it to be named seamonkey-1.0.1.

Two options again. :-)  Either you change the source (via the diff.gz, but you
will want to submit it upstream, I suppose) to not care about the directory
name, or you create a "mozilla" directory for your build and copy all the
files there.  Then you can build in there.  That has the added bonus that the
previous problem is also solved, because the clean target simply becomes

ifneq (,$(wildcard mozilla))
	rm -r mozilla
endif

(You can also use "-rm -r mozilla", or "rm -rf mozilla", but both ignore real
errors, which is wrong.)

>      I was wondering how I can alter the debian/rules file to account for
> these issues.

You can do that as I described above, but it may be preferrable to patch the
sources so they behave better.

Thanks,
Bas

-- 
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://129.125.47.90/e-mail.html

Attachment: signature.asc
Description: Digital signature


Reply to: