Codebase list apt-listchanges / 267d6312-627c-4da8-8083-7ba6442e8500/main common.mk
267d6312-627c-4da8-8083-7ba6442e8500/main

Tree @267d6312-627c-4da8-8083-7ba6442e8500/main (Download .tar.gz)

common.mk @267d6312-627c-4da8-8083-7ba6442e8500/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)