build; make the pkgname configurable.
This commit is contained in:
parent
462a972abc
commit
e41c5f6055
2 changed files with 4 additions and 1 deletions
|
|
@ -10,6 +10,9 @@ var (
|
|||
// AppArmor ABI version
|
||||
ABI uint = 0
|
||||
|
||||
// Pkgname is the name of the package
|
||||
Pkgname string = "apparmor.d"
|
||||
|
||||
// Root is the root directory for the build (default: .build)
|
||||
Root *paths.Path = paths.New(".build")
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import (
|
|||
"github.com/roddhjav/apparmor.d/pkg/prebuild"
|
||||
)
|
||||
|
||||
const ext = ".apparmor.d"
|
||||
var ext = "." + prebuild.Pkgname
|
||||
|
||||
type Overwrite struct {
|
||||
prebuild.Base
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue