summaryrefslogtreecommitdiffstats
path: root/rules/host-fake-makeinfo.make
blob: 7bc708c5948ae6267664301c164ade20822dbc12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# -*-makefile-*-
#
# Copyright (C) 2013 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_FAKE_MAKEINFO) += host-fake-makeinfo

#
# Paths and names
#
HOST_FAKE_MAKEINFO		:= fake-makeinfo
HOST_FAKE_MAKEINFO_LICENSE	:= ignore

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

$(STATEDIR)/host-fake-makeinfo.install:
	@$(call targetinfo)
	install -d $(HOST_FAKE_MAKEINFO_PKGDIR)/bin
	echo 'if [ "$${1}" == "--version" ]; then  echo "makeinfo (GNU texinfo) 5.2"; fi' > $(HOST_FAKE_MAKEINFO_PKGDIR)/bin/makeinfo
	chmod +x $(HOST_FAKE_MAKEINFO_PKGDIR)/bin/makeinfo
	@$(call touch)

# vim: syntax=make