make install and dist target
----------------------------

         Key: CAROB-75
         URL: https://forge.continuent.org/jira/browse/CAROB-75
     Project: Carob
        Type: Improvement
  Components: C++ API  
    Versions: V1.0 - full version    
    Reporter: Simon Csaba Endre
 Assigned to: Gilles Rayrat 
    Priority: Minor
     Fix For: V1.0 - full version


Please add a "make install" target to the Makefile taking in account the 
DESTDIR variable.

Here are the reasons:

- Because is a standard target. See 
http://www.gnu.org/software/make/manual/html_node/make_127.html

- In the debian/rules and carob.spec files the packager need only one line: 
"make install DESTDIR=/path/to/install/dir". The hardcoded ugly install hack 
can be removed from this files. Anyway this must not be there. It must reside 
in the Makefile.

- Only Carob is knowing _what_ to install. The user is knowing _where_. The 
debian and rpm packages are only packaging the installed stuff and does not 
need to follow Carob development (if a new include file need to be installed, 
or a new manpage or new document...)

- The user does not need to manually copy the libraries and header files to 
their final destination. Just type "make install" (defaulting to /usr) or "make 
install DESTDIR=/usr/local" or "make install 
DESTDIR="/home/myusername/softwares"

Also would be nice a "make dist" target. Now the steps to make an rpm package 
is:
- get rid of the CVS directories
- create a tar.gz manualy
- rpm -ta carob-version.tar.gz

With the "make dist" file this can be simplified:
- make dist
- rpm -ta carob-version.tar.gz

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to