File: common.mk

package info (click to toggle)
apt-listchanges 3.24
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,352 kB
  • sloc: python: 1,710; xml: 650; makefile: 138; sh: 71; perl: 61
file content (18 lines) | stat: -rw-r--r-- 643 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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)