summaryrefslogtreecommitdiff
path: root/driver/ghc.mk
blob: c1adefe5dc52be7e3824e0c03df22340342c97a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -----------------------------------------------------------------------------
#
# (c) 2009 The University of Glasgow
#
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
#      https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
#      https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
#
# -----------------------------------------------------------------------------

$(eval $(call all-target,driver,$(INPLACE_LIB)/ghc-usage.txt $(INPLACE_LIB)/ghci-usage.txt))

$(INPLACE_LIB)/ghc-usage.txt: driver/ghc-usage.txt
	cp $< $@

$(INPLACE_LIB)/ghci-usage.txt: driver/ghci-usage.txt
	cp $< $@

INSTALL_LIBS += driver/ghc-usage.txt driver/ghci-usage.txt