github.com/metux/go-metabuild@v0.0.0-20240118143255-d9ed5ab697f9/spec/buildconf/installdirs.go (about)

     1  package buildconf
     2  
     3  const (
     4  	KeyInstallDirs = Key("install-dirs")
     5  
     6  	KeyInstallDirPrefix    = Key("prefix")
     7  	KeyInstallDirData      = Key("datadir")
     8  	KeyInstallDirBin       = Key("bindir")
     9  	KeyInstallDirLib       = Key("libdir")
    10  	KeyInstallDirPkgConfig = Key("pkgconfigdir")
    11  	KeyInstallDirMan       = Key("mandir")
    12  	KeyInstallDirDoc       = Key("docdir")
    13  	KeyInstallDirInclude   = Key("includedir")
    14  
    15  	KeyDestDir = Key("DESTDIR")
    16  )
    17  
    18  func (bc BuildConf) InstallDirs() SpecObj {
    19  	return bc.EntrySpec(KeyInstallDirs)
    20  }