]> git.saurik.com Git - apt.git/blame - buildlib/fail.mak
hack around test-apt-update-unauth failure
[apt.git] / buildlib / fail.mak
CommitLineData
b2e465d6
AL
1# -*- make -*-
2
3# This prints a failure message but does not abort the make
4
5# Input
6# $(MESSAGE) - The message to show
1e3f4083 7# $(PROGRAM) - The program/library/whatever.
b2e465d6
AL
8
9# See defaults.mak for information about LOCAL
10
11LOCAL := $(PROGRAM)
12$(LOCAL)-MSG := $(MESSAGE)
13
14# Install hooks
15program: $(PROGRAM)
16
17.PHONY: $(PROGRAM)
18$(PROGRAM) :
19 echo $($@-MSG)
20