File: Makefile.config

package info (click to toggle)
haddock 0.6-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,680 kB
  • ctags: 482
  • sloc: haskell: 11,317; sh: 3,136; makefile: 543; ansic: 445; yacc: 76
file content (24 lines) | stat: -rw-r--r-- 619 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# partain: probably not the right thing yet

all: configure

configure: configure.ac aclocal.m4
	rm -f configure.new
	autoconf configure.ac > configure.new \
		|| ( rm -f configure.new; exit 1 )
	rm -f configure
	mv configure.new configure
	chmod +x configure
	chmod -w configure
	if test -f config.status; then ./config.status --recheck; fi
	rm -f configure.new

CONFIG_H_IN = ghc/includes/config.h.in

config.h.in: configure.ac
	rm -f $(CONFIG_H_IN)
	autoheader configure.ac > $(CONFIG_H_IN) \
		|| ( rm -f $(CONFIG_H_IN); exit 1 )

# do something about autoheader
# do something about ghc-vs-nofib configure scripts