~ubuntu-branches/ubuntu/quantal/speedometer/quantal

« back to all changes in this revision

Viewing changes to debian/debian-vars.mk

  • Committer: Bazaar Package Importer
  • Author(s): Jari Aalto
  • Date: 2011-04-21 19:34:18 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110421193418-faeokdf0tip1mzlx
Tags: 2.7-1
* New upstream release
  - Fix Python 2.5.4 DeprecationWarning: The popen2 module is deprecated
    (Closes: #583573).
* debian/compat
  - Update to 8.
* debian/control
  - (Build-Depends): Update to debhelper 8.
  - (Standards-Version): Update to 3.9.2.
* debian/copyright
  - Update to DEP5.
  - (Files: *): Correct license to LGPL 2.1.
* debian/*.mk
  - Minor updates.
* debian/speedometer.1.pod
  - (top level): Proper starting comment.
  - (DESCRIPTION): Improve documentation to note that
    traffic must be generated (Closes: #583576).
  - (EXAMPLES): Adjust indentation.
  - (SEE ALSO): Add more programs.
  - (AUTHORS): Adjust wording.
* debian/rules
  - (PKGDIR): New.
  - (get-changelog): New.
  - Cleanup rules handled by dh(1).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# debian-vars.mk -- Common variables
2
 
#
3
 
#   Copyright
4
 
#
5
 
#       Copyright (C) 2005-2009 Jari Aalto <jari.aalto@cante.net>
6
 
#
7
 
#   License
8
 
#
9
 
#       This program is free software; you can redistribute it and/or modify
10
 
#       it under the terms of the GNU General Public License as published by
11
 
#       the Free Software Foundation; either version 2 of the License, or
12
 
#       (at your option) any later version.
13
 
#
14
 
#       This program is distributed in the hope that it will be useful,
15
 
#       but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 
#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
 
#       GNU General Public License for more details.
18
 
#
19
 
#       You should have received a copy of the GNU General Public License
20
 
#       along with this program. If not, see <http://www.gnu.org/licenses/>.
21
 
#
22
 
#   Description
23
 
#
24
 
#       This is GNU makefile part, that defines common variables and
25
 
#       macros to be used from debian/rules. To install, add this:
26
 
#
27
 
#           PACKAGE = foo
28
 
#           include debian/debian-vars.mk
29
 
 
30
 
ifneq (,)
31
 
    This makefile requires GNU Make.
32
 
endif
33
 
 
34
 
PACKAGE         ?= foo
35
 
PIXPACKAGE      ?= $(PACKAGE)
36
 
TOPDIR          := $(shell pwd)
37
 
PKGDIR          = $(shell pwd)/debian/$(PACKAGE)
38
 
 
39
 
SHAREROOTDIR    = $(PKGDIR)/usr/share
40
 
SHAREDIR        = $(SHAREROOTDIR)/$(PACKAGE)
41
 
DOCROOTDIR      = $(SHAREROOTDIR)/doc
42
 
PKGDOCDIR       = $(DOCROOTDIR)/$(PACKAGE)
43
 
SITELISPDIR     = $(SHAREROOTDIR)/emacs/site-lisp
44
 
PKGLISPDIR      = $(SITELISPDIR)/$(PACKAGE)
45
 
DESKTOPDIR      = $(SHAREROOTDIR)/applications
46
 
XSESSIONDIR     = $(SHAREROOTDIR)/xsessions
47
 
LOCALEDIR       = $(SHAREROOTDIR)/locale
48
 
INFODIR         = $(SHAREROOTDIR)/info
49
 
PIXDIR          = $(SHAREROOTDIR)/pixmaps
50
 
PKGPIXDIR       = $(SHAREROOTDIR)/pixmaps/$(PIXPACKAGE)
51
 
 
52
 
MANROOTDIR      = $(SHAREROOTDIR)/man
53
 
MAN1DIR         = $(MANROOTDIR)/man1
54
 
MAN5DIR         = $(MANROOTDIR)/man5
55
 
MAN7DIR         = $(MANROOTDIR)/man7
56
 
MAN8DIR         = $(MANROOTDIR)/man8
57
 
 
58
 
LIBROOTDIR      = $(PKGDIR)/usr/lib
59
 
LIBDIR          = $(LIBROOTDIR)/$(PACKAGE)
60
 
LIBPERLDIR      = $(LIBROOTDIR)/perl
61
 
 
62
 
BINDIR          = $(PKGDIR)/usr/bin
63
 
SBINDIR         = $(PKGDIR)/usr/sbin
64
 
GAMEBINDIR      = $(PKGDIR)/usr/games
65
 
 
66
 
INSTALL         ?= /usr/bin/install
67
 
INSTALL_DIR     = $(INSTALL) -m 755 -d
68
 
INSTALL_DATA    = $(INSTALL) -p -m 644
69
 
 
70
 
# The difference is that "BIN" may contain binary strip option
71
 
INSTALL_SCRIPT  = $(INSTALL) -p -m 755
72
 
INSTALL_BIN     = $(INSTALL) -p -m 755
73
 
 
74
 
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
75
 
    INSTALL_BIN += -s
76
 
endif
77
 
 
78
 
# End of Makefile part