Skip to content
This repository has been archived by the owner on Sep 14, 2019. It is now read-only.

Commit

Permalink
Raspbian's dpkg-changelog doesn't understand -S, use some sed magic i…
Browse files Browse the repository at this point in the history
…nstead.
  • Loading branch information
mutability committed Dec 10, 2014
1 parent 55ecde9 commit 3af0fb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

VER=$(shell dpkg-parsechangelog -SVersion)
SRCNAME=$(shell dpkg-parsechangelog -SSource)
VER=$(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
SRCNAME=$(shell dpkg-parsechangelog | sed -n 's/^Source: //p')

override_dh_auto_build:
dh_auto_build -- 'EXTRACFLAGS=-DHTMLPATH=\"/usr/share/dump1090-mutability/html\" -DMODES_DUMP1090_VARIANT=\"$(SRCNAME)\" -DMODES_DUMP1090_VERSION=\"$(VER)\"'
Expand Down

0 comments on commit 3af0fb5

Please sign in to comment.