Makefile.in (Firebird-3.0.2.32703-0.tar.bz2) | : | Makefile.in (Firebird-3.0.4.33054-0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 21 | skipping to change at line 21 | |||
FB_INST_VERS:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darwin/b uildsuffix.c | tail -2 | sed -e 's/" "//g' -e 's/"//g' -e 's/Firebird[ ]*//' -e 's/Release Candidate/RC/' -e 's/ /-/g') | FB_INST_VERS:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darwin/b uildsuffix.c | tail -2 | sed -e 's/" "//g' -e 's/"//g' -e 's/Firebird[ ]*//' -e 's/Release Candidate/RC/' -e 's/ /-/g') | |||
FB_VER_SUFFIX:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darwin/ buildsuffix.c | tail -2 | sed -e 's/" "//g' -e 's/"//g') | FB_VER_SUFFIX:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darwin/ buildsuffix.c | tail -2 | sed -e 's/" "//g' -e 's/"//g') | |||
FB_VER_SUFFIX_SM:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darw in/buildsuffix.c | tail -2 | sed -e 's/" "//g' -e 's/"//g' -e 's/Firebird[ ]*//' -e 's/Release Candidate/RC/') | FB_VER_SUFFIX_SM:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darw in/buildsuffix.c | tail -2 | sed -e 's/" "//g' -e 's/"//g' -e 's/Firebird[ ]*//' -e 's/Release Candidate/RC/') | |||
FB_VER_SUFFIX_M:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darwi n/buildsuffix.c | tail -2 | sed -e 's/" "//g' -e 's/"//g' -e 's/Release Candidat e/RC/') | FB_VER_SUFFIX_M:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darwi n/buildsuffix.c | tail -2 | sed -e 's/" "//g' -e 's/"//g' -e 's/Release Candidat e/RC/') | |||
FB_MAJOR_VERS:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darwin/ majorvers.c | tail -2 | sed -e 's/" "//g' -e 's/"//g') | FB_MAJOR_VERS:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darwin/ majorvers.c | tail -2 | sed -e 's/" "//g' -e 's/"//g') | |||
FB_MINOR_VERS:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darwin/ minorvers.c | tail -2 | sed -e 's/" "//g' -e 's/"//g') | FB_MINOR_VERS:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darwin/ minorvers.c | tail -2 | sed -e 's/" "//g' -e 's/"//g') | |||
FB_REV_NO:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darwin/revno .c | tail -2 | sed -e 's/" "//g' -e 's/"//g') | FB_REV_NO:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darwin/revno .c | tail -2 | sed -e 's/" "//g' -e 's/"//g') | |||
FB_BUILD_NO:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darwin/bui ldno.c | tail -2 | sed -e 's/" "//g' -e 's/"//g') | FB_BUILD_NO:=$(shell cpp -DDARWIN -I. ../builds/install/arch-specific/darwin/bui ldno.c | tail -2 | sed -e 's/" "//g' -e 's/"//g') | |||
FB_PLATFORM:=$(CpuType) | FB_PLATFORM:=$(CpuType) | |||
package packages dist: package_@FIREBIRD_ARCH_TYPE@ | package: package_firebird | |||
package_classic package_embedded: INST_NM=FirebirdCS-$(FB_MAJOR_VERS).$(FB_MINOR | package_firebird: INST_NM=Firebird-$(FB_MAJOR_VERS).$(FB_MINOR_VERS).$(FB_REV_NO | |||
_VERS).$(FB_REV_NO)-$(FB_BUILD_NO)-$(FB_PLATFORM) | )-$(FB_BUILD_NO)-$(FB_PLATFORM) | |||
package_classic package_embedded: | package_firebird: | |||
sed -e 's/_FB_BUILD_SUFFIX_/$(FB_VER_SUFFIX)/g' \ | sed -e 's/_FB_BUILD_SUFFIX_/$(FB_VER_SUFFIX)/g' \ | |||
-e 's/_SMFB_BUILD_SUFFIX_/$(FB_VER_SUFFIX_SM)/g' \ | -e 's/_SMFB_BUILD_SUFFIX_/$(FB_VER_SUFFIX_SM)/g' \ | |||
-e 's/_MFB_BUILD_SUFFIX_/$(FB_VER_SUFFIX_M)/g' \ | -e 's/_MFB_BUILD_SUFFIX_/$(FB_VER_SUFFIX_M)/g' \ | |||
-e 's/_MAJOR_VERS_/$(FB_MAJOR_VERS)/g' \ | -e 's/_MAJOR_VERS_/$(FB_MAJOR_VERS)/g' \ | |||
-e 's/_MINOR_VERS_/$(FB_MINOR_VERS)/g' \ | -e 's/_MINOR_VERS_/$(FB_MINOR_VERS)/g' \ | |||
-e 's/_REV_NO_/$(FB_REV_NO)/g' \ | -e 's/_REV_NO_/$(FB_REV_NO)/g' \ | |||
../builds/install/arch-specific/darwin/Info.plist \ | ../builds/install/arch-specific/darwin/Info.plist \ | |||
> $(ROOT)/gen/firebird/frameworks/FirebirdCS.framework/Re sources/Info.plist | > $(ROOT)/gen/Release/frameworks/Firebird3.framework/Reso urces/Info.plist | |||
sed -e 's/_FB_BUILD_SUFFIX_/$(FB_VER_SUFFIX)/g' \ | sed -e 's/_FB_BUILD_SUFFIX_/$(FB_VER_SUFFIX)/g' \ | |||
-e 's/_SMFB_BUILD_SUFFIX_/$(FB_VER_SUFFIX_SM)/g' \ | -e 's/_SMFB_BUILD_SUFFIX_/$(FB_VER_SUFFIX_SM)/g' \ | |||
-e 's/_MFB_BUILD_SUFFIX_/$(FB_VER_SUFFIX_M)/g' \ | -e 's/_MFB_BUILD_SUFFIX_/$(FB_VER_SUFFIX_M)/g' \ | |||
-e 's/_MAJOR_VERS_/$(FB_MAJOR_VERS)/g' \ | -e 's/_MAJOR_VERS_/$(FB_MAJOR_VERS)/g' \ | |||
-e 's/_MINOR_VERS_/$(FB_MINOR_VERS)/g' \ | -e 's/_MINOR_VERS_/$(FB_MINOR_VERS)/g' \ | |||
-e 's/_REV_NO_/$(FB_REV_NO)/g' \ | -e 's/_REV_NO_/$(FB_REV_NO)/g' \ | |||
../builds/install/arch-specific/darwin/Description.plist \ | ../builds/install/arch-specific/darwin/Description.plist \ | |||
> $(ROOT)/gen/firebird/frameworks/FirebirdCS.framework/Re sources/Description.plist | > $(ROOT)/gen/Release/frameworks/Firebird3.framework/Reso urces/Description.plist | |||
rm -fr $(ROOT)/gen/firebird/scripts | rm -fr $(ROOT)/gen/Release/scripts | |||
mkdir $(ROOT)/gen/firebird/scripts | mkdir $(ROOT)/gen/Release/scripts | |||
cp ../builds/install/arch-specific/darwin/install-script \ | cp ../builds/install/arch-specific/darwin/install-script \ | |||
$(ROOT)/gen/firebird/scripts/postinstall | $(ROOT)/gen/Release/scripts/postinstall | |||
cp ../builds/install/arch-specific/darwin/preupgrade-script \ | cp ../builds/install/arch-specific/darwin/preupgrade-script \ | |||
$(ROOT)/gen/firebird/scripts/preinstall | $(ROOT)/gen/Release/scripts/preinstall | |||
chmod u+x $(ROOT)/gen/firebird/scripts/postinstall | chmod u+x $(ROOT)/gen/Release/scripts/postinstall | |||
chmod u+x $(ROOT)/gen/firebird/scripts/preinstall | chmod u+x $(ROOT)/gen/Release/scripts/preinstall | |||
rm -fr $(ROOT)/gen/firebird/resources | rm -fr $(ROOT)/gen/Release/resources | |||
mkdir $(ROOT)/gen/firebird/resources | mkdir $(ROOT)/gen/Release/resources | |||
cp ../builds/install/arch-specific/darwin/Welcome.txt \ | cp ../builds/install/arch-specific/darwin/Welcome.txt \ | |||
$(ROOT)/gen/firebird/resources/Welcome.txt | $(ROOT)/gen/Release/resources/Welcome.txt | |||
cp ../builds/install/arch-specific/darwin/Readme.txt \ | ||||
$(ROOT)/gen/Release/resources/Readme.txt | ||||
cp ../builds/install/arch-specific/darwin/License.txt \ | cp ../builds/install/arch-specific/darwin/License.txt \ | |||
$(ROOT)/gen/firebird/resources/License.txt | $(ROOT)/gen/Release/resources/License.txt | |||
cp ../builds/install/arch-specific/darwin/DistributionCS.xml \ | cp ../builds/install/arch-specific/darwin/Distribution.xml \ | |||
$(ROOT)/gen/firebird/DistributionCS.xml | $(ROOT)/gen/Release/Distribution.xml | |||
rm -fr firebird/packages | rm -fr Release/packages | |||
mkdir firebird/packages | mkdir Release/packages | |||
pkgbuild --root $(ROOT)/gen/firebird/frameworks/FirebirdCS.framework \ | pkgbuild --root $(ROOT)/gen/Release/frameworks/Firebird3.framework \ | |||
--identifier com.firebirdsql.Firebird \ | --identifier com.firebirdsql.Firebird \ | |||
--install-location /Library/Frameworks/Firebird.framework \ | --install-location /Library/Frameworks/Firebird.framework \ | |||
--scripts $(ROOT)/gen/firebird/scripts \ | --scripts $(ROOT)/gen/Release/scripts \ | |||
firebird/packages/FirebirdCS.pkg | Release/packages/Firebird.pkg | |||
productbuild --distribution firebird/DistributionCS.xml \ | productbuild --distribution Release/Distribution.xml \ | |||
--resources firebird/resources \ | --resources Release/resources \ | |||
--package-path firebird/packages \ | --package-path Release/packages \ | |||
firebird/$(INST_NM).pkg | Release/$(INST_NM).pkg | |||
package_super package_server: INST_NM=FirebirdSS-$(FB_MAJOR_VERS).$(FB_MINOR_VER | ||||
S).$(FB_REV_NO)-$(FB_BUILD_NO)-$(FB_PLATFORM) | ||||
package_super package_server: | ||||
sed -e 's/_FB_BUILD_SUFFIX_/$(FB_VER_SUFFIX)/g' \ | ||||
-e 's/_SMFB_BUILD_SUFFIX_/$(FB_VER_SUFFIX_SM)/g' \ | ||||
-e 's/_MFB_BUILD_SUFFIX_/$(FB_VER_SUFFIX_M)/g' \ | ||||
-e 's/_MAJOR_VERS_/$(FB_MAJOR_VERS)/g' \ | ||||
-e 's/_MINOR_VERS_/$(FB_MINOR_VERS)/g' \ | ||||
-e 's/_REV_NO_/$(FB_REV_NO)/g' \ | ||||
../builds/install/arch-specific/darwin/Info.plist \ | ||||
> $(ROOT)/gen/firebird/frameworks/FirebirdSS.framework/Re | ||||
sources/Info.plist | ||||
sed -e 's/_FB_BUILD_SUFFIX_/$(FB_VER_SUFFIX)/g' \ | ||||
-e 's/_SMFB_BUILD_SUFFIX_/$(FB_VER_SUFFIX_SM)/g' \ | ||||
-e 's/_MFB_BUILD_SUFFIX_/$(FB_VER_SUFFIX_M)/g' \ | ||||
-e 's/_MAJOR_VERS_/$(FB_MAJOR_VERS)/g' \ | ||||
-e 's/_MINOR_VERS_/$(FB_MINOR_VERS)/g' \ | ||||
-e 's/_REV_NO_/$(FB_REV_NO)/g' \ | ||||
../builds/install/arch-specific/darwin/Description.plist | ||||
\ | ||||
> $(ROOT)/gen/firebird/frameworks/FirebirdSS.framework/Re | ||||
sources/Description.plist | ||||
rm -fr $(ROOT)/gen/firebird/scripts | ||||
mkdir $(ROOT)/gen/firebird/scripts | ||||
cp ../builds/install/arch-specific/darwin/install-script \ | ||||
$(ROOT)/gen/firebird/scripts/postinstall | ||||
cp ../builds/install/arch-specific/darwin/preupgrade-script \ | ||||
$(ROOT)/gen/firebird/scripts/preinstall | ||||
chmod u+x $(ROOT)/gen/firebird/scripts/postinstall | ||||
chmod u+x $(ROOT)/gen/firebird/scripts/preinstall | ||||
rm -fr $(ROOT)/gen/firebird/resources | ||||
mkdir $(ROOT)/gen/firebird/resources | ||||
cp ../builds/install/arch-specific/darwin/Welcome.txt \ | ||||
$(ROOT)/gen/firebird/resources/Welcome.txt | ||||
cp ../builds/install/arch-specific/darwin/License.txt \ | ||||
$(ROOT)/gen/firebird/resources/License.txt | ||||
cp ../builds/install/arch-specific/darwin/DistributionSS.xml \ | ||||
$(ROOT)/gen/firebird/DistributionSS.xml | ||||
rm -fr firebird/packages | ||||
mkdir firebird/packages | ||||
pkgbuild --root $(ROOT)/gen/firebird/frameworks/FirebirdSS.framework \ | ||||
--identifier com.firebirdsql.Firebird \ | ||||
--install-location /Library/Frameworks/Firebird.framework | ||||
\ | ||||
--scripts $(ROOT)/gen/firebird/scripts \ | ||||
firebird/packages/FirebirdSS.pkg | ||||
productbuild --distribution firebird/DistributionSS.xml \ | ||||
--resources firebird/resources \ | ||||
--package-path firebird/packages \ | ||||
firebird/$(INST_NM).pkg | ||||
# rm firebird/firebirdSS.pkg | ||||
install: install_@FIREBIRD_ARCH_TYPE@ | ||||
install_super: | ||||
sudo installer -verbose -dumplog -pkg \ | ||||
firebird/FirebirdSS-$(FB_MAJOR_VERS).$(FB_MINOR_VERS).$(F | ||||
B_REV_NO)-$(FB_BUILD_NO)-$(FB_PLATFORM).pkg -target / | ||||
install_classic: | ||||
sudo installer -verbose -dumplog -pkg \ | ||||
firebird/FirebirdCS-$(FB_MAJOR_VERS).$(FB_MINOR_VERS).$(F | ||||
B_REV_NO)-$(FB_BUILD_NO)-$(FB_PLATFORM).pkg -target / | ||||
End of changes. 12 change blocks. | ||||
24 lines changed or deleted | 26 lines changed or added |