* createEOproject.sh: Set TargetDir to /tmp/<name>. This is a workaround
for automake finding the scripts of eo itself if we run it in a embedded subdirectory. (COPYING, INSTALL): create. * README: State more explicitly what a "complete installation" means. Give build-instructions for moved directories.
This commit is contained in:
parent
ac67af6da3
commit
f7ce3d8b91
3 changed files with 19 additions and 3 deletions
|
|
@ -1,6 +1,12 @@
|
|||
2007-01-14 Jochen Küpper <jochen@fhi-berlin.mpg.de>
|
||||
|
||||
* createEOproject.sh: Set TargetDir to /tmp/<name>. This is a workaround
|
||||
for automake finding the scripts of eo itself if we run it in a embedded
|
||||
subdirectory.
|
||||
(COPYING, INSTALL): create.
|
||||
|
||||
* README: State more explicitly what a "complete installation" means.
|
||||
Give build-instructions for moved directories.
|
||||
|
||||
2006-12-16 Jochen Küpper <jochen@fhi-berlin.mpg.de>
|
||||
|
||||
|
|
|
|||
|
|
@ -13,4 +13,11 @@ setenv CPLUS_INCLUDE_PATH /usr/local/include/eo:"$CPLUS_INCLUDE_PATH"
|
|||
setenv LIBRARY_PATH /usr/local/lib:"$LIBRARY_PATH"
|
||||
|
||||
|
||||
You can freely move the created project around. However, whenever you
|
||||
change the location of the source- or build-directories, you need to
|
||||
run
|
||||
touch configure.ac && autoreconf && make
|
||||
in the source-directory and make in the build-directory.
|
||||
|
||||
|
||||
See README.manual for more details.
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@ endif
|
|||
# we're going to do something
|
||||
echo " "
|
||||
if ($#argv == 1) then
|
||||
set TargetDir = ../$1
|
||||
set TargetDir = /tmp/$1
|
||||
else
|
||||
set TargetDir = ../$2
|
||||
set TargetDir = /tmp/$2
|
||||
endif
|
||||
if ( -d $TargetDir ) then
|
||||
echo "Warning: The target directory does exist already."
|
||||
|
|
@ -57,7 +57,9 @@ sed s/MyStruct/$1/g Makefile.am.top-tmpl > $TargetDir/Makefile.am
|
|||
sed s/MyStruct/$1/g Makefile.am.src-tmpl > $TargetDir/src/Makefile.am
|
||||
sed s/MyStruct/$1/g README.tmpl > $TargetDir/README
|
||||
touch $TargetDir/AUTHORS
|
||||
touch $TargetDir/COPYING
|
||||
touch $TargetDir/ChangeLog
|
||||
touch $TargetDir/INSTALL
|
||||
touch $TargetDir/NEWS
|
||||
|
||||
echo "Successfully created project $1 in $TargetDir!"
|
||||
|
|
@ -68,12 +70,13 @@ echo "Start building the new project"
|
|||
cd $TargetDir
|
||||
aclocal || exit
|
||||
autoheader || exit
|
||||
automake --add-missing --copy --gnu || exit
|
||||
automake --add-missing --copy --force-missing --gnu || exit
|
||||
autoconf || exit
|
||||
./configure || exit
|
||||
make || exit
|
||||
|
||||
|
||||
# done
|
||||
echo ""
|
||||
echo "Project $1 successfully build in $TargetDir!"
|
||||
echo "Implement your code and enjoy."
|
||||
|
|
|
|||
Reference in a new issue