VERSION file generation and distribution.
This commit is contained in:
5
Makefile
5
Makefile
@@ -115,6 +115,7 @@ install: all
|
|||||||
@cp *.ttf $(INSTALL_DIR)
|
@cp *.ttf $(INSTALL_DIR)
|
||||||
@cp --parents -r thirdparty/Tao $(INSTALL_DIR)
|
@cp --parents -r thirdparty/Tao $(INSTALL_DIR)
|
||||||
@$(INSTALL_PROGRAM) thirdparty/WindowsBase.dll $(INSTALL_DIR)
|
@$(INSTALL_PROGRAM) thirdparty/WindowsBase.dll $(INSTALL_DIR)
|
||||||
|
@-$(INSTALL_PROGRAM) VERSION $(INSTALL_DIR)
|
||||||
|
|
||||||
@echo "#!/bin/sh" > openra
|
@echo "#!/bin/sh" > openra
|
||||||
@echo "cd "$(datadir)"/openra" >> openra
|
@echo "cd "$(datadir)"/openra" >> openra
|
||||||
@@ -123,8 +124,8 @@ install: all
|
|||||||
@$(INSTALL_PROGRAM) -m +rx openra $(BIN_INSTALL_DIR)
|
@$(INSTALL_PROGRAM) -m +rx openra $(BIN_INSTALL_DIR)
|
||||||
|
|
||||||
@echo "OpenRA is now installed. You will now want to download"
|
@echo "OpenRA is now installed. You will now want to download"
|
||||||
@echo "http://open-ra.org/packages/ra-packages.php and"
|
@echo "http://open-ra.org/get-dependency.php?ra-packages and"
|
||||||
@echo "http://open-ra.org/packages/cnc-packages.php"
|
@echo "http://open-ra.org/get-dependency.php?cnc-packages"
|
||||||
@echo "and extract their contents to"
|
@echo "and extract their contents to"
|
||||||
@echo "$(INSTALL_DIR)/mods/ra/packages and "
|
@echo "$(INSTALL_DIR)/mods/ra/packages and "
|
||||||
@echo "$(INSTALL_DIR)/mods/cnc/packages respectively."
|
@echo "$(INSTALL_DIR)/mods/cnc/packages respectively."
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ for i in $EXCLUDE; do
|
|||||||
find . -path "$i" -delete
|
find . -path "$i" -delete
|
||||||
done
|
done
|
||||||
|
|
||||||
git describe --tags > "VERSION"
|
|
||||||
cd $PACKAGING_PATH
|
cd $PACKAGING_PATH
|
||||||
zip OpenRA-$2 -r -9 OpenRA.app
|
zip OpenRA-$2 -r -9 OpenRA.app
|
||||||
echo "Done!"
|
echo "Done!"
|
||||||
|
|||||||
@@ -46,6 +46,8 @@ if [ $? -ne 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
git describe --tags > "VERSION"
|
||||||
|
|
||||||
msg "\E[32m" "Starting make..."
|
msg "\E[32m" "Starting make..."
|
||||||
make prefix=/usr DESTDIR=../built install
|
make prefix=/usr DESTDIR=../built install
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user