[ptx] hugin --prefix and building RPM packages

Markku Kolkka markkukolkka at kolumbus.fi
Mon Oct 18 12:45:17 BST 2004


Bruno Postle kirjoitti viestissään (lähetysaika maanantai, 18. 
lokakuuta 2004 11:09):
> Currently I run configure with a prefix of /usr and do the
> installation manually.  This has two problems:
>
> 1. I have to maintain a list of files to install and
> occasionally make mistakes.
>
> 2. The .mo files are built by 'make install', so none of the
> RPM versions have any localisation.
>
> Any ideas what I can do about this?

You should use the %configure and %makeinstall RPM macros. See: 
http://fedora.redhat.com/participate/developers-guide/ch-rpm-building.html 
and 
http://qa.mandrakesoft.com/twiki/bin/view/Main/RpmHowTo#Build_section

-- 
 Markku Kolkka
 markku.kolkka at iki.fi


More information about the ptX mailing list