summaryrefslogtreecommitdiff
path: root/driver/ghc.mk
blob: c93c611c6612b42a3353345083054026076b49b1 (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
#      http://ghc.haskell.org/trac/ghc/wiki/Building/Architecture
#      http://ghc.haskell.org/trac/ghc/wiki/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