~ubuntu-branches/ubuntu/vivid/gss/vivid-proposed

« back to all changes in this revision

Viewing changes to GNUmakefile

  • Committer: Package Import Robot
  • Author(s): Simon Josefsson
  • Date: 2014-10-09 15:51:38 UTC
  • mfrom: (1.2.9)
  • Revision ID: package-import@ubuntu.com-20141009155138-50b2mr1qsqcln38w
Tags: 1.0.3-1
* New upstream version.
  - Drop unnecessary Debian patches.
* Update standards version to 3.9.6.
* Improve copyright file.
* Use DEP3 patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Having a separate GNUmakefile lets me `include' the dynamically
 
1
# Having a separate GNUmakefile lets me 'include' the dynamically
2
2
# generated rules created via cfg.mk (package-local configuration)
3
3
# as well as maint.mk (generic maintainer rules).
4
4
# This makefile is used only if you run GNU Make.
5
5
# It is necessary if you want to build targets usually of interest
6
6
# only to the maintainer.
7
7
 
8
 
# Copyright (C) 2001, 2003, 2006-2011 Free Software Foundation, Inc.
 
8
# Copyright (C) 2001, 2003, 2006-2014 Free Software Foundation, Inc.
9
9
 
10
10
# This program is free software: you can redistribute it and/or modify
11
11
# it under the terms of the GNU General Public License as published by
20
20
# You should have received a copy of the GNU General Public License
21
21
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
22
22
 
23
 
# Systems where /bin/sh is not the default shell need this.  The $(shell)
24
 
# command below won't work with e.g. stock DOS/Windows shells.
25
 
ifeq ($(wildcard /bin/s[h]),/bin/sh)
26
 
SHELL = /bin/sh
27
 
else
28
 
# will be used only with the next shell-test line, then overwritten
29
 
# by a configured-in value
30
 
SHELL = sh
31
 
endif
32
 
 
33
23
# If the user runs GNU make but has not yet run ./configure,
34
24
# give them a diagnostic.
35
 
_have-Makefile := $(shell test -f Makefile && echo yes)
36
 
ifeq ($(_have-Makefile),yes)
 
25
_gl-Makefile := $(wildcard [M]akefile)
 
26
ifneq ($(_gl-Makefile),)
37
27
 
38
28
# Make tar archive easier to reproduce.
39
29
export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner
114
104
 
115
105
abort-due-to-no-makefile:
116
106
        @echo There seems to be no Makefile in this directory.   1>&2
117
 
        @echo "You must run ./configure before running \`make'." 1>&2
 
107
        @echo "You must run ./configure before running 'make'." 1>&2
118
108
        @exit 1
119
109
 
120
110
endif