Kouhei Sutou
null+****@clear*****
Thu Oct 4 10:21:15 JST 2012
Kouhei Sutou 2010-08-25 10:01:52 +0900 (Wed, 25 Aug 2010) New Revision: 9680acdfd432b721ce99e277ea0b738b4ff17de3 https://github.com/mroonga/mroonga/commit/9680acdfd432b721ce99e277ea0b738b4ff17de3 Log: make project name customizable. Modified files: apt/Makefile.am apt/update-repository.sh Modified: apt/Makefile.am (+1 -1) =================================================================== --- apt/Makefile.am 2010-08-25 09:59:50 +0900 (f89649f) +++ apt/Makefile.am 2010-08-25 10:01:52 +0900 (74ba06b) @@ -13,7 +13,7 @@ remove-existing-packages: done update: - ./update-repository.sh '$(ARCHITECTURES)' '$(CODES)' + ./update-repository.sh '$(PACKAGE_NAME)' '$(ARCHITECTURES)' '$(CODES)' sign: ./sign-repository.sh '$(CODES)' Modified: apt/update-repository.sh (+7 -6) =================================================================== --- apt/update-repository.sh 2010-08-25 09:59:50 +0900 (b7bd4bb) +++ apt/update-repository.sh 2010-08-25 10:01:52 +0900 (7171a16) @@ -2,15 +2,15 @@ script_base_dir=`dirname $0` -if [ $# != 2 ]; then - echo "Usage: $0 ARCHITECTURES CODES" - echo " e.g.: $0 'i386 amd64' 'lenny unstable hardy karmic'" +if [ $# != 3 ]; then + echo "Usage: $0 PROJECT_NAME ARCHITECTURES CODES" + echo " e.g.: $0 mroonga 'i386 amd64' 'lenny unstable hardy karmic'" exit 1 fi -PROJECT_NAME=mroonga -ARCHITECTURES=$1 -CODES=$2 +PROJECT_NAME=$1 +ARCHITECTURES=$2 +CODES=$3 run() { @@ -27,6 +27,7 @@ update_repository() code_name=$2 component=$3 + rm -rf dists/${code_name} mkdir -p dists/${code_name}/${component}/binary-i386/ mkdir -p dists/${code_name}/${component}/binary-amd64/ mkdir -p dists/${code_name}/${component}/source/ -------------- next part -------------- HTML����������������������������...다운로드