Charj: fix omission of Main.java from charj jarfile.
authorAaron Becker <akbecker@gmail.com>
Wed, 6 Oct 2010 19:53:22 +0000 (14:53 -0500)
committerAaron Becker <akbecker@gmail.com>
Wed, 6 Oct 2010 19:53:22 +0000 (14:53 -0500)
src/langs/charj/Makefile

index d29638007e0f46d5f7f160c84a1b7a3cc3e1ac71..293c19ece1208fe56a3ace8b508135ac8a1f2b7b 100644 (file)
@@ -13,10 +13,13 @@ BUILD_GRAMMARS := $(subst $(SRCDIR),$(BUILDDIR),$(SRC_GRAMMARS:.g=.d))
 all: build grammars
        $(ANT) dist
 
+# TODO: Maybe we should be using something like gathertree to create the
+# build directory instead of ad-hoc copying.
 build:
        @echo "\ninit:"
        @mkdir -p $(BUILDDIR)
        @cp -p $(SRCDIR)/* $(BUILDDIR)
+       @cp -p $(SRCDIR)/../Main.java $(BUILDDIR)/../
        @mkdir -p build/classes
        @mkdir -p build/classes/META-INF
        @mkdir -p build/lib