Browse Source

Add a missing Java dist file.

Feng Xiao 10 years ago
parent
commit
35ef68056c
2 changed files with 5 additions and 3 deletions
  1. 1 0
      Makefile.am
  2. 4 3
      post_process_dist.sh

+ 1 - 0
Makefile.am

@@ -135,6 +135,7 @@ java_EXTRA_DIST=                                                             \
   java/src/test/java/com/google/protobuf/field_presence_test.proto           \
   java/src/test/java/com/google/protobuf/field_presence_test.proto           \
   java/src/test/java/com/google/protobuf/lazy_fields_lite.proto              \
   java/src/test/java/com/google/protobuf/lazy_fields_lite.proto              \
   java/src/test/java/com/google/protobuf/lite_equals_and_hash.proto          \
   java/src/test/java/com/google/protobuf/lite_equals_and_hash.proto          \
+  java/src/test/java/com/google/protobuf/map_for_proto2_lite_test.proto      \
   java/src/test/java/com/google/protobuf/map_for_proto2_test.proto           \
   java/src/test/java/com/google/protobuf/map_for_proto2_test.proto           \
   java/src/test/java/com/google/protobuf/map_test.proto                      \
   java/src/test/java/com/google/protobuf/map_test.proto                      \
   java/src/test/java/com/google/protobuf/multiple_files_test.proto           \
   java/src/test/java/com/google/protobuf/multiple_files_test.proto           \

+ 4 - 3
post_process_dist.sh

@@ -15,8 +15,8 @@
 #    non-testdata .txt files are converted to Windows-style line endings.
 #    non-testdata .txt files are converted to Windows-style line endings.
 # 5) Cleans up after itself.
 # 5) Cleans up after itself.
 
 
-if [ "$1" == "" ]; then
-  echo "USAGE:  $1 DISTFILE" >&2
+if [ "$1" == "" -o "$2" == "" ]; then
+  echo "USAGE:  $0 DISTFILE LANGUAGE" >&2
   exit 1
   exit 1
 fi
 fi
 
 
@@ -28,6 +28,7 @@ fi
 set -ex
 set -ex
 
 
 BASENAME=`basename $1 .tar.gz`
 BASENAME=`basename $1 .tar.gz`
+LANGUAGE=$2
 
 
 # Create a directory called "dist", copy the tarball there and unpack it.
 # Create a directory called "dist", copy the tarball there and unpack it.
 mkdir dist
 mkdir dist
@@ -45,7 +46,7 @@ cd $BASENAME/vsprojects
 cd ..
 cd ..
 
 
 # Build the dist again in .tar.gz and .tar.bz2 formats.
 # Build the dist again in .tar.gz and .tar.bz2 formats.
-./configure
+./configure DIST_LANG=$LANGUAGE
 make dist-gzip
 make dist-gzip
 make dist-bzip2
 make dist-bzip2