Improve Makefile - simplify make, without local omt-tools (PR #562)

This commit is contained in:
Hsieh Chin Fan (Pham)
2019-03-22 16:34:00 +08:00
committed by Martin Mikita
parent 2871b234a5
commit 3591cb2f8d
3 changed files with 53 additions and 50 deletions

View File

@@ -167,21 +167,21 @@ fi
echo " "
echo "-------------------------------------------------------------------------------------"
echo "====> : Remove old generated source files ( ./build/* ) ( if they exist ) "
docker-compose run --rm openmaptiles-tools make clean
make clean
echo " "
echo "-------------------------------------------------------------------------------------"
echo "====> : Code generating from the layer definitions ( ./build/mapping.yaml; ./build/tileset.sql )"
echo " : The tool source code: https://github.com/openmaptiles/openmaptiles-tools "
echo " : But we generate the tm2source, Imposm mappings and SQL functions from the layer definitions! "
docker-compose run --rm openmaptiles-tools make
make
echo " "
echo "-------------------------------------------------------------------------------------"
echo "====> : Start PostgreSQL service ; create PostgreSQL data volume "
echo " : Source code: https://github.com/openmaptiles/postgis "
echo " : Thank you: https://www.postgresql.org ! Thank you http://postgis.org !"
docker-compose up -d postgres
docker-compose up -d postgres
echo " "
echo "-------------------------------------------------------------------------------------"