Makefile Bash differnces

This commit is contained in:
Mario Fetka 2024-05-28 19:39:12 +02:00
parent aa1c74dcf2
commit b95ca8a95c

View File

@ -144,8 +144,10 @@ echo "===================================================================="
echo " Installing ${PROSPERO_ROOT}"
echo "===================================================================="
echo ""
for i in als archie gen_vfsetup list_acl newvs p__vcd p__vfsetup padmin pfs psession pstatus set_acl set_atr vget vln vls vmkdir vrm; do
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${PROSPERO_ROOT}/user/$${i} ${RELEASE_DIR}/B/pfs/bin
BINS="als archie gen_vfsetup list_acl newvs p__vcd p__vfsetup padmin pfs psession pstatus set_acl set_atr vget vln vls vmkdir vrm"
for i in ${BINS}
do
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${PROSPERO_ROOT}/user/${i} ${RELEASE_DIR}/B/pfs/bin
done
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${PROSPERO_ROOT}/user/menu/menu ${RELEASE_DIR}/B/pfs/bin
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${PROSPERO_ROOT}/server/dirsrv ${RELEASE_DIR}/B/pfs/bin
@ -156,12 +158,16 @@ echo "===================================================================="
echo " Installing ${ARCHIE_ROOT}"
echo "===================================================================="
echo ""
for i in parse_anonftp parse_anonftp_novell parse_anonftp_unix_bsd parse_anonftp_vms_std ; do
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/anonftp/parse/${SYSTYPE}/$${i} ${RELEASE_DIR}/A/bin
BINS="parse_anonftp parse_anonftp_novell parse_anonftp_unix_bsd parse_anonftp_vms_std"
for i in ${BINS}
do
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/anonftp/parse/${SYSTYPE}/${i} ${RELEASE_DIR}/A/bin
done
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/anonftp/retrieve/${SYSTYPE}/retrieve_anonftp ${RELEASE_DIR}/A/bin
for i in check_anonftp delete_anonftp insert_anonftp net_anonftp update_anonftp; do
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/anonftp/update/${SYSTYPE}/$${i} ${RELEASE_DIR}/A/bin
BINS="check_anonftp delete_anonftp insert_anonftp net_anonftp update_anonftp"
for i in ${BINS}
do
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/anonftp/update/${SYSTYPE}/${i} ${RELEASE_DIR}/A/bin
done
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/client/email/${SYSTYPE}/email-client ${RELEASE_DIR}/A/bin
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/client/mail_back_end/${SYSTYPE}/split_file ${RELEASE_DIR}/A/bin
@ -171,8 +177,10 @@ ${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/exchange/${SYSTYPE}/
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/less/${SYSTYPE}/less ${RELEASE_DIR}/A/bin
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/ppc/ferretd/${SYSTYPE}/ferretd ${RELEASE_DIR}/A/bin
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/ppc/weaseld/${SYSTYPE}/weaseld ${RELEASE_DIR}/A/bin
for i in ardomains convert_hostdb db_build db_check db_dump db_reorder db_siteidx db_stats dump_hostdb dump_hostdb_ndbm fix_start_db host_manage restore_hostdb; do
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/tools/${SYSTYPE}/$${i} ${RELEASE_DIR}/A/bin
BINS="ardomains convert_hostdb db_build db_check db_dump db_reorder db_siteidx db_stats dump_hostdb dump_hostdb_ndbm fix_start_db host_manage restore_hostdb"
for i in ${BINS}
do
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/tools/${SYSTYPE}/${i} ${RELEASE_DIR}/A/bin
done
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/parse/${SYSTYPE}/parse_webindex ${RELEASE_DIR}/A/bin
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/partial/${SYSTYPE}/partial_webindex ${RELEASE_DIR}/A/bin
@ -181,8 +189,10 @@ ${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/retrieve/${
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/tools/${SYSTYPE}/extern_urls ${RELEASE_DIR}/A/bin
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/tools/${SYSTYPE}/extern_urls_ndbm ${RELEASE_DIR}/A/bin
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/tools/${SYSTYPE}/extern_urls_ndbm ${RELEASE_DIR}/A/bin
for i in check_webindex delete_webindex insert_webindex net_webindex; do
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/update/${SYSTYPE}/$${i} ${RELEASE_DIR}/A/bin
BINS="check_webindex delete_webindex insert_webindex net_webindex"
for i in ${BINS}
do
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/webindex/update/${SYSTYPE}/${i} ${RELEASE_DIR}/A/bin
done
${INSTALL} -c -m 755 -o ${OWNER} -g ${GROUP} ${ARCHIE_ROOT}/clients/cgi/${SYSTYPE}/cgi-client ${RELEASE_DIR}/base/cgi/bin
@ -192,6 +202,7 @@ echo " Creating archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-A.tgz"
echo "===================================================================="
echo ""
cd ${RELEASE_DIR}/A
rm -f ${RELEASE_DIR}/archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-A.tgz
tar cfvz ${RELEASE_DIR}/archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-A.tgz .
cd ${WORLD_ROOT}
@ -201,6 +212,7 @@ echo " Creating archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-A.tgz"
echo "===================================================================="
echo ""
cd ${RELEASE_DIR}/B
rm -f ${RELEASE_DIR}/archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-B.tgz
tar cfvz ${RELEASE_DIR}/archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-B.tgz .
cd ${WORLD_ROOT}
@ -210,6 +222,7 @@ echo " Creating archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-base.tgz"
echo "===================================================================="
echo ""
cd ${RELEASE_DIR}/base
rm -f ${RELEASE_DIR}/archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-base.tgz
tar cfvz ${RELEASE_DIR}/archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-base.tgz .
cd ${WORLD_ROOT}