[Git][debian-gis-team/tilemaker][patch-queue/master] 2 commits: Avoid calling git outside of repository

ǝɹʇʇɐʃǝ◖ xıʃǝɟ (@xamanu) gitlab at salsa.debian.org
Fri Sep 3 15:48:33 BST 2021



ǝɹʇʇɐʃǝ◖ xıʃǝɟ pushed to branch patch-queue/master at Debian GIS Project / tilemaker


Commits:
6e5d87e5 by Felix Delattre at 2021-09-03T13:24:58+00:00
Avoid calling git outside of repository

- - - - -
45bcb5ea by Felix Delattre at 2021-09-03T13:33:56+00:00
Add man page for tilemaker

- - - - -


2 changed files:

- Makefile
- + docs/man/tilemaker.1


Changes:

=====================================
Makefile
=====================================
@@ -62,8 +62,10 @@ endif
 # Main includes
 
 prefix = /usr/local
-
-TM_VERSION := $(shell git describe --tags --abbrev=0)
+MANPREFIX := /usr/share/man
+DEB_VERSION := $(shell dpkg-parsechangelog -SVersion)
+DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | sed -e 's/-[^-]*$$//')
+TM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed -e 's/^[0-9]*://')
 CXXFLAGS := -O3 -Wall -Wno-unknown-pragmas -Wno-sign-compare -std=c++14 -pthread -fPIE -DTM_VERSION=$(TM_VERSION) $(CONFIG)
 LIB := -L/usr/local/lib -lz $(LUA_LIBS) -lboost_program_options -lsqlite3 -lboost_filesystem -lboost_system -lboost_iostreams -lprotobuf -lshp
 INC := -I/usr/local/include -isystem ./include -I./src $(LUA_CFLAGS)
@@ -88,6 +90,8 @@ tilemaker: include/osmformat.pb.o include/vector_tile.pb.o src/mbtiles.o src/pbf
 install:
 	install -m 0755 -d $(DESTDIR)$(prefix)/bin/
 	install -m 0755 tilemaker $(DESTDIR)$(prefix)/bin/
+	install -m 0755 -d ${DESTDIR}${MANPREFIX}/man1/
+	install docs/man/tilemaker.1 ${DESTDIR}${MANPREFIX}/man1/
 
 clean:
 	rm -f tilemaker src/*.o include/*.o


=====================================
docs/man/tilemaker.1
=====================================
@@ -0,0 +1,54 @@
+.\" Manpage for tilemaker.
+.TH man 1 "27 Aug 2021" "1.0" "tilemaker man page"
+.SH NAME
+tilemaker \- Generates vector tiles from OpenStreetMap data
+.SH SYNOPSIS
+tilemaker --input input.osm.pbf --output output.mbtiles
+.SH DESCRIPTION
+This manual page documents briefly the
+.B tilemaker
+command.
+.PP
+.B tilemaker
+generates vector tiles without from OpenStreetMap planet and diff
+files without any complex stack or need for database.
+.PP
+This program follows the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below:
+.TP
+\fB\-\-input
+Source path and file from OpenStreetMap (.osm.pbf).
+.TP
+\fB\-\-output
+Target path and file for vector tiles (.mbtiles/.sqlite).
+.TP
+\fB\-\-config
+Specific config file (.json). If is nothing provided, tilemaker expects a
+`config.json` file in the current directory.
+.TP
+\fB\-\-process
+Lua processing script for processing tags (.lua). If is nothing provided,
+tilemaker expects a `process.lua` file in the current directory.
+.TP
+\fB\-\-store
+Path to the directory as a temporary store during processing.
+If specifcied tilemaker uses on-disk storage instead of holding everything
+in RAM.
+.TP
+\fB\-\-merge
+Merge with existing .mbtiles/.sqlite file.
+.TP
+\fB\-\-verbose
+Outputs any issues encountered during tile creation.
+.TP
+\fB\-\-threads
+Number of threads (automatically detected if 0).
+.TP
+\fB\-\-help
+Show help message for tilemaker.
+.PP
+.SH BUGS
+No known bugs.
+.SH AUTHOR
+This manual page was written by tilemaker contributors.



View it on GitLab: https://salsa.debian.org/debian-gis-team/tilemaker/-/compare/95b867f04d1d34513cea19083f26dd77fcf8d462...45bcb5eab8f254fa02f5943aaa37b7894d69a5d2

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/tilemaker/-/compare/95b867f04d1d34513cea19083f26dd77fcf8d462...45bcb5eab8f254fa02f5943aaa37b7894d69a5d2
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20210903/34e112c3/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list