Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » Upp 2007.1rc4 released
Re: Upp 2007.1rc4 released [message #8876 is a reply to message #8867] Wed, 04 April 2007 19:21 Go to previous messageGo to previous message
ebojd is currently offline  ebojd
Messages: 225
Registered: January 2007
Location: USA
Experienced Member
Hi Bas,

Separate make & make install is exactly how I run things anyway, so that is no problem.

Some thoughts on updates to the Makefile (and I'll do my best to help with this one if appropriate)...

One of the things that was customary in the *nix world, at least in the past, was to separate the build and the formal install process so that any user can build and test the system without root or administration privileges. That way you would build as a regular user, then su over to root to install any files into the base system. One of the nice advantages of setting DESTDIR without the /usr/ is that as a regular use I can do the install into my home directory by setting DESTDIR=/home/me. Likewise a sysadmin could choose nonstandard install locations (like /usr/local/ or /opt/upp). One of the things I forgot to add was the add a decent default to DESTDIR:

ifndef DESTDIR
DESTDIR=/usr
endif

all: theide

theide:
$(MAKE) -f uppsrc/ide/Makefile

last, if install is called directly it should depend on theide:

install: theide


The rest is mainly just a case of defining terms and what things mean.

uppsrc/ide/Makefile's install directive is actually not dealing with installation, but is a prebuild step to set up the expected directory structure for the build. This should probably be remanmed. There is still the issue of make being called with -j2 or more. I will have to play with this some more.

I need to get back to work but I'll spend some time on this tonight if I do not find myself back in bed with the flu or whatever it is that is kicking my kiester...

EBo --
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Upp 2007.1rc3 released
Next Topic: Upp 2007.1rc5 released
Goto Forum:
  


Current Time: Sat Jun 28 14:35:40 CEST 2025

Total time taken to generate the page: 0.04483 seconds