Commit a198f14e authored by coppro's avatar coppro

Added new Linux script for limited install

Actually made Linux compile with optimizations
parent d72ca762
...@@ -15,8 +15,6 @@ AM_INIT_AUTOMAKE([-Wall foreign]) ...@@ -15,8 +15,6 @@ AM_INIT_AUTOMAKE([-Wall foreign])
# Checks for programs. # Checks for programs.
AC_PROG_CXX AC_PROG_CXX
# Do not pass -O2, because that causes failures for now.
CXXFLAGS=-g
# Checks for libraries. # Checks for libraries.
AC_CHECK_LIB([hunspell],[Hunspell_create]) AC_CHECK_LIB([hunspell],[Hunspell_create])
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
mkdir magicseteditor mkdir magicseteditor
mkdir magicseteditor/program mkdir magicseteditor/program
cp -rP ../../data /usr/local/share/magicseteditor/resource ../../magicseteditor magicseteditor/program; cp -rP ../../data ~/.magicseteditor/resource ../../magicseteditor magicseteditor/program;
cp install README magicseteditor; cp install README magicseteditor;
tar -cf magicseteditor.tar.gz --owner root --exclude=.* --exclude=*~ --exclude=.svn magicseteditor; tar -cf magicseteditor.tar.gz --owner root --exclude=.* --exclude=*~ --exclude=.svn magicseteditor;
......
#!/bin/bash
# Magic Set Editor installer tarball generator.
rm -rf magicseteditor
mkdir magicseteditor
mkdir magicseteditor/program
mkdir magicseteditor/program/data
PACKAGES="magic.mse-game
magic-blends.mse-include
magic-default-image.mse-include
magic-watermarks.mse-include
magic-future-common.mse-include
magic-spoiler.mse-export-template
magic-mana-small.mse-symbol-font
magic-mana-large.mse-symbol-font
magic-new.mse-style
magic-new-flip.mse-style
magic-new-split.mse-style
magic-textless.mse-style
magic-old.mse-style
magic-old-split.mse-style
vs.mse-game
vs-common.mse-include
vs-standard-arrow.mse-symbol-font
vs-standard-official.mse-symbol-font
vs-spoiler.mse-export-template
vs-standard.mse-style
yugioh.mse-game
yugioh-standard-levels.mse-symbol-font
yugioh-text-replacements.mse-symbol-font
yugioh-standard.mse-style";
for PACKAGE in $PACKAGES;
do cp -rP ../../data/$PACKAGE magicseteditor/program/data;
done;
cp -rP ~/.magicseteditor/resource ../../magicseteditor magicseteditor/program;
cp install README magicseteditor;
tar -cf magicseteditor-limited.tar.gz --owner root --exclude=.* --exclude=*~ --exclude=.svn magicseteditor;
rm -rf magicseteditor;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment