🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #70602

Re: compile install makepkg question

#70602
From: Benedict White
Date: Fri, 14 Jan 2005 10:13
65 lines
3041 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Benedict White <benedict@arch.cse-ltd.co.uk> writes:

> > I am making a package for a distribution of Linux called Arch (See 
> > http://www.archlinux.org/

> > Now I think make went OK, but what I wanted to do was to run 
> > make install 

> > and have it put all files in some dir/pkg
> > so that the packager can gather all the files and put them in the 
> > package as well as list all the files for updating etc purposes.

> > I can, if needed patch the install file after it has been made and 
> > before make install is run, but I would need to know which variable to 
> > mod in support/install-sh

> > Obviously if I could pass make install a command line argument that 
> > would be better.

> I'm not completely sure, but I think you may be looking for:

>     make install DESTDIR=/some/package/directory

That worked great and I have it running. Many thanks.

In hindsight of course reading the docs for a few minutes more would 
have given me that answer. I shall try harder next time.


> which should work but doesn't get tested a lot (so if you run into
> problems, please let me know).

It works absolutely fine. Consider it tested again.

There is a little problem with the include files though. It creates one 
called paths.h and there is already such a file owned by glibc.

For the moment I have put this in a new include directory 
(/usr/include/news) and that works but is obviously non standard.

Does inn need to put out its own include files?

BTW, if I mailed you directly I am sorry, I had a brain issue with tin 
and was using r where I should have been using f.



-- 
Kind regards



Benedict White



Please note that my email address is not checked regularly and will
be used for harvesting UCE. If you want to email me work out my address
from the following, my first name at law 4 free daht org daht uk.
If this cause accessibility problems to those who are blind etc., please
post a follow up, and I will try and improve the situation.


Technical Details
Message-ID: <34pk9qF4cnn7uU1@individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <34nb7kF49k9rlU1@individual.net> <871xcpmj79.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <34pk9qF4cnn7uU1@individual.net>
Subject: Re: compile install makepkg question
Date: Fri, 14 Jan 2005 10:13:15 +0000
From: Benedict White <benedict@arch.cse-ltd.co.uk>
References: <34nb7kF49k9rlU1@individual.net> <871xcpmj79.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp
Lines: 65
X-Trace: individual.net C+UU1OoS1ZL8ctyNiFBIIgZpYiaG8SR8JSJFhyXObVeQORfdAi
X-Orig-Path: not-for-mail
User-Agent: tin/1.7.5-20040615 ("Gighay") (UNIX) (Linux/2.6.10-ARCH (i686))