Browse Source

It's been a while since I've built LÖVE, so forgive my forgetfulness.
Made automagic script run gen-makefile (took me half an hour to figure out I had to do this first...)
Also made sure it's running from the right path :)

Tommy Nguyen 15 years ago
parent
commit
c4fd3d985d
1 changed files with 4 additions and 3 deletions
  1. 4 3
      platform/unix/automagic

+ 4 - 3
platform/unix/automagic

@@ -1,7 +1,8 @@
 #!/bin/bash
 #!/bin/bash
-echo
-echo "  * Remember to run 'sh platform/unix/gen-makefile' if you've added/removed any files under src/ before running this script"
-echo
+if ! sh platform/unix/gen-makefile; then
+	echo "You should be doing this from the root directory of the project."
+	exit 1
+fi
 autoheader # Gimmie config.h.in
 autoheader # Gimmie config.h.in
 libtoolize --force
 libtoolize --force
 aclocal
 aclocal