File: dh-make-golang.md

package info (click to toggle)
dh-make-golang 0.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 344 kB
  • sloc: makefile: 12; sh: 9
file content (51 lines) | stat: -rw-r--r-- 1,604 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
% 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.

# SEE ALSO

**dh**(1), **dh_golang**(1), **Debian::Debhelper::Buildsystem::golang**(3pm)

# AUTHOR

This manual page was written by Michael Stapelberg <stapelberg@debian.org>
and Dr.\ Tobias Quathamer <toddy@debian.org>,
for the Debian project (and may be used by others).