diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2020-07-10 21:14:16 -0700 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2020-07-11 17:15:44 -0700 |
commit | cae0e745e07cf8f4cabea9e293642f1e025f7eef (patch) | |
tree | 2dba60a2b4b764f43f0bee89a8b2233626296893 /go/Makefile | |
parent | f4decbdedec8e45aa1b3eb3dd058d0365f679670 (diff) | |
download | libcap2-cae0e745e07cf8f4cabea9e293642f1e025f7eef.tar.gz |
Some documentation for individual capability values.
I want a place to capture nuances in these files through experience
and bug reports/patches.
Make use of these to document the Go cap package definitions of each
Value so that the godoc automated documentation at places like go.dev
become more useful for actually using the package.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'go/Makefile')
-rw-r--r-- | go/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/Makefile b/go/Makefile index 1e4cea2..c5ad7aa 100644 --- a/go/Makefile +++ b/go/Makefile @@ -38,7 +38,7 @@ $(topdir)/libcap/cap_names.h: $(DEPS) make -C $(topdir)/libcap all good-names.go: $(topdir)/libcap/cap_names.h src/$(IMPORTDIR)/cap mknames.go - $(GO) run mknames.go --header=$< | gofmt > $@ || rm -f $@ + $(GO) run mknames.go --header=$< --textdir=$(topdir)/doc/values | gofmt > $@ || rm -f $@ diff -u ../cap/names.go $@ $(PSXGOPACKAGE): src/$(IMPORTDIR)/psx ../psx/*.go $(DEPS) |