mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
makefiles and the archive build script (that is: 'cp -a' becomes 'cp -p' and 'cp -pR', depending upon the specific context). git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15195 87f5fb63-7c3d-0410-a384-fd976d0f7a62
28 lines
784 B
Bash
Executable File
28 lines
784 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Simple release archive build script for Unix systems.
|
|
# I typically build the library with a cross compiler.
|
|
|
|
# Set the name of the archive and the directory the
|
|
# files go into
|
|
export dir_name=clib2-1.`cat c.lib_rev.rev`
|
|
|
|
# Start with a clean slate
|
|
rm -rf $dir_name
|
|
|
|
# Create the directory, copy all the libraries, header files
|
|
# and release note files inside.
|
|
mkdir $dir_name
|
|
cp -pR lib $dir_name
|
|
cp -pR lib.threadsafe $dir_name
|
|
cp -pR include $dir_name
|
|
cp changes $dir_name
|
|
|
|
# Delete the CVS data from the include directory
|
|
rm -rf ${dir_name}/include/CVS ${dir_name}/include/sys/CVS ${dir_name}/include/arpa/CVS ${dir_name}/include/netinet/CVS
|
|
|
|
# Finally, create an lha type 5 archive; the Amiga LhA port
|
|
# can unpack it.
|
|
lha ao5q ${dir_name}-gcc-os4.lha ${dir_name}
|
|
|