Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add man page and API docs to debian source package #91

Open
david415 opened this issue Mar 2, 2016 · 1 comment
Open

add man page and API docs to debian source package #91

david415 opened this issue Mar 2, 2016 · 1 comment

Comments

@david415
Copy link
Owner

david415 commented Mar 2, 2016

Perhaps our sphinx docs should be in the master branch on a docs directory.
API docs should also be built in the source package.

Look at existing golang debian packages for implementation details.

@david415 david415 changed the title add man page build process to debian source package add man page and API docs to debian source package Mar 2, 2016
@david415
Copy link
Owner Author

while adding a basic help2man man page i noticed the package build fails horribly, probably because an incorrect GOPATH where no dependencies are installed:

dh build --buildsystem=golang --with=golang
   dh_testdir -O--buildsystem=golang
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/home/human/gopath/src/github.com/david415/HoneyBadger'
dh_auto_configure
        mkdir -p obj-x86_64-linux-gnu
make[1]: Leaving directory '/home/human/gopath/src/github.com/david415/HoneyBadger'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/home/human/gopath/src/github.com/david415/HoneyBadger'
cd obj-x86_64-linux-gnu && GOPATH=$PWD go install -tags 'debian' -v \
  github.com/david415/HoneyBadger/cmd/honeyBadger \
  github.com/david415/HoneyBadger/cmd/honeybadgerReportTool
src/github.com/david415/HoneyBadger/types/flow.go:27:2: cannot find package "github.com/google/gopacket" in any of:
        /usr/lib/go/src/pkg/github.com/google/gopacket (from $GOROOT)
        /home/human/gopath/src/github.com/david415/HoneyBadger/obj-x86_64-linux-gnu/src/github.com/google/gopacket (from $GOP
ATH)
src/github.com/david415/HoneyBadger/drivers/afpacket.go:26:2: cannot find package "github.com/google/gopacket/afpacket" in an
y of:
        /usr/lib/go/src/pkg/github.com/google/gopacket/afpacket (from $GOROOT)
        /home/human/gopath/src/github.com/david415/HoneyBadger/obj-x86_64-linux-gnu/src/github.com/google/gopacket/afpacket (
from $GOPATH)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant