From adbf657b5904df7f984f2d788e9e551676574cc0 Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Fri, 13 Nov 2020 12:11:34 -0700 Subject: [PATCH] Move debian/man/dh-make-golang.md from Debian packaging to this upstream repository. Fixes #129 --- dh-make-golang.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 dh-make-golang.md diff --git a/dh-make-golang.md b/dh-make-golang.md new file mode 100644 index 0000000..d379d2c --- /dev/null +++ b/dh-make-golang.md @@ -0,0 +1,47 @@ +% DH-MAKE-GOLANG(1) 2018-09-15 + +# NAME + +dh-make-golang - automatically creates Debian packaging for Go packages + +# SYNOPSIS + +**dh-make-golang** [*globalflags*] <*command*> [*flags*] <*args*> + +# DESCRIPTION + +**dh-make-golang** is a tool to automatically create Debian packaging for Go +packages. Its goal is to automate away as much of the work as possible when +creating a Debian package for a Go library package. + +For backwards compatibility, when no command is specified, the **make** +command is executed. To learn more about a command, run +"dh-make-golang <*command*> -help", for example "dh-make-golang make -help". + +# COMMANDS + +**make** *go-package-importpath* +: Create a Debian package. **dh-make-golang** will create new files and + directories in the current working directory. It will connect to + the internet to download the specified Go package. + +**search** *pattern* +: Search Debian for already-existing packages. Uses Go's default + regexp syntax (https://golang.org/pkg/regexp/syntax/). + +**estimate** *go-package-importpath* +: Estimates the work necessary to bring *go-package-importpath* + into Debian by printing all currently unpacked repositories. + +**create-salsa-project** *project-name* +: Create a project for hosting Debian packaging. + +# OPTIONS + +Run **dh-make-golang** -help for more details. + +# AUTHOR + +This manual page was written by Michael Stapelberg +and Dr.\ Tobias Quathamer , +for the Debian project (and may be used by others).