Fix Makefile for debian packaging

This commit is contained in:
DanB
2018-05-07 19:43:44 +02:00
parent 180ad31f5c
commit 43d4add02f
2 changed files with 3 additions and 6 deletions

View File

@@ -292,10 +292,7 @@ func main() {
if err = tpReader.LoadAll(); err != nil {
log.Fatal(err)
}
/*if *verbose {
tpReader.ShowStatistics()
}
*/
if *dryRun { // We were just asked to parse the data, not saving it
return
}

View File

@@ -12,7 +12,7 @@ ifeq ($(GIT_DATE),)
exit 1
endif
JESSIE_VERSION=$(shell dpkg-parsechangelog -S Version -l jessie/changelog 2> /dev/null)
JESSIE_VERSION=$(shell dpkg-parsechangelog -S Version -ljessie/changelog 2> /dev/null)
ifeq ($(JESSIE_VERSION),)
echo "Error: Failed to extract version from jessie changelog"
@@ -21,7 +21,7 @@ endif
JESSIE_PKG_VERSION=$(JESSIE_VERSION)+$(GIT_DATE)+$(GIT_COMMIT)
SQUEEZE_VERSION=$(shell dpkg-parsechangelog -S Version -l squeeze/changelog 2> /dev/null)
SQUEEZE_VERSION=$(shell dpkg-parsechangelog -S Version -lsqueeze/changelog 2> /dev/null)
ifeq ($(SQUEEZE_VERSION),)
echo "Error: Failed to extract version from squeeze changelog"