Переглянути джерело

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
Jakob Borg 9 роки тому
батько
коміт
4669ce0766
6 змінених файлів з 2 додано та 5 видалено
  1. 1 4
      .gitignore
  2. 1 1
      build.go
  3. 0 0
      debtpl/common/changelog
  4. 0 0
      debtpl/common/compat
  5. 0 0
      debtpl/syncthing/control
  6. 0 0
      debtpl/syncthing/postinst

+ 1 - 4
.gitignore

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

+ 1 - 1
build.go

@@ -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 {

+ 0 - 0
debian/common/changelog → debtpl/common/changelog


+ 0 - 0
debian/common/compat → debtpl/common/compat


+ 0 - 0
debian/syncthing/control → debtpl/syncthing/control


+ 0 - 0
debian/syncthing/postinst → debtpl/syncthing/postinst