Codebase list apt-listchanges / 7f61da61-6c30-4966-8ece-22d2b65f9001/main common.mk
7f61da61-6c30-4966-8ece-22d2b65f9001/main

Tree @7f61da61-6c30-4966-8ece-22d2b65f9001/main (Download .tar.gz)

common.mk @7f61da61-6c30-4966-8ece-22d2b65f9001/mainraw · history · blame

# vim:ts=2:et
# common Makefile includes for apt-listchanges
#
override TOPDIR   := $(dir $(CURDIR)/$(lastword $(MAKEFILE_LIST)))
override PACKAGE  := apt-listchanges

ifndef VERSION
  CHANGELOGFILE   := $(TOPDIR)/debian/changelog
  VERSION         := $(shell LC_ALL=C dpkg-parsechangelog -l$(CHANGELOGFILE) -SVersion | sed -e 's/~$$//')
  SHELL           := $(SHELL) -e

  export VERSION SHELL
  unexport CDPATH
endif

XGETTEXT_COMMON_OPTIONS  := --msgid-bugs-address $(PACKAGE)@packages.debian.org  \
                            --package-name $(PACKAGE)                            \
                            --package-version $(VERSION)