debian: Rename debian directory to debtpl (fixes #3099)

To keep it out of the way for actual, real, Debian packagers

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3195
This commit is contained in:
Jakob Borg 2016-05-26 16:37:09 +00:00
parent 9bb5988b4e
commit 4669ce0766
6 changed files with 2 additions and 5 deletions

5
.gitignore vendored
View File

@ -1,7 +1,4 @@
syncthing
!gui/syncthing
!debian/syncthing
!Godeps/_workspace/src/github.com/syncthing
/syncthing
syncthing.exe
*.tar.gz
*.zip

View File

@ -438,7 +438,7 @@ func buildDeb(target target) {
"date": time.Now().Format(time.RFC1123),
}
debTemplateFiles := append(listFiles("debian/common"), listFiles("debian/"+target.name)...)
debTemplateFiles := append(listFiles("debtpl/common"), listFiles("debtpl/"+target.name)...)
for _, file := range debTemplateFiles {
tpl, err := template.New(filepath.Base(file)).ParseFiles(file)
if err != nil {