~mvo/apt/dep8

« back to all changes in this revision

Viewing changes to buildlib/fail.mak

  • Committer: Arch Librarian
  • Date: 2004-09-20 16:56:32 UTC
  • Revision ID: Arch-1:apt@arch.ubuntu.com%apt--MAIN--0--patch-614
Join with aliencode
Author: jgg
Date: 2001-02-20 07:03:16 GMT
Join with aliencode

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- make -*-
 
2
 
 
3
# This prints a failure message but does not abort the make
 
4
 
 
5
# Input
 
6
# $(MESSAGE) - The message to show
 
7
# $(PROGRAM) - The program/libary/whatever.
 
8
 
 
9
# See defaults.mak for information about LOCAL
 
10
 
 
11
LOCAL := $(PROGRAM)
 
12
$(LOCAL)-MSG := $(MESSAGE)
 
13
 
 
14
# Install hooks
 
15
program: $(PROGRAM)
 
16
 
 
17
.PHONY: $(PROGRAM)
 
18
$(PROGRAM) :
 
19
        echo $($@-MSG)
 
20