Skip to content

Commit

Permalink
Merge branch 'master' into feature_skip_existing_packages_latest
Browse files Browse the repository at this point in the history
  • Loading branch information
seeraven authored Mar 25, 2017
2 parents aa16899 + 91219e3 commit 9978595
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ coverage*.out
xc-out/
root/

gen
man/aptly.1.html
man/aptly.1.ronn

Expand Down
4 changes: 1 addition & 3 deletions man/gen.go → _man/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
"text/template"

Expand Down Expand Up @@ -56,8 +55,7 @@ func main() {
command.UsageLine = "aptly"
command.Dispatch(nil)

_, _File, _, _ := runtime.Caller(0)
_File, _ = filepath.Abs(_File)
_File, _ := filepath.Abs("./man")

templ := template.New("man").Funcs(template.FuncMap{
"allFlags": allFlags,
Expand Down
2 changes: 1 addition & 1 deletion man/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ prepare:
gem specific_install -l smira/ronn

generate:
go run gen.go
go run ../_man/gen.go

.PHONY: prepare generate

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9978595

Please sign in to comment.