]> git.saurik.com Git - apple/icu.git/blame - icuSources/tools/gendraft/Makefile
ICU-461.12.tar.gz
[apple/icu.git] / icuSources / tools / gendraft / Makefile
CommitLineData
46f4442e 1#*******************************************************************************
729e4ab9 2#* Copyright (C) 2008-2010, International Business Machines
46f4442e
A
3#* Corporation and others. All Rights Reserved.
4#*******************************************************************************
5
6#sorry, this won't be friendly to out of source builds
7
8srcdir=.
9top_srcdir=../..
10top_builddir=../..
11
12include $(top_builddir)/icudefs.mk
13
729e4ab9 14LOCALHEADERS= udeprctd.h udraft.h uintrnal.h usystem.h
46f4442e
A
15
16COMMONHDR= $(top_srcdir)/common/unicode
17DOCDIR= $(top_builddir)/doc/html
18EXCLUDE=$(srcdir)/exclude.txt
19
20all:
21 @echo Usage: 'make install-headers' to update headers.
22 @echo 'be sure to verify the headers (in soure/common/unicode) before checkin!'
23 @exit 1
729e4ab9 24
46f4442e
A
25clean:
26 -$(RMV) $(LOCALHEADERS)
729e4ab9 27
46f4442e
A
28$(DOCDIR):
29 ( cd $(top_builddir) ; $(MAKE) doc )
30
31local-headers: $(LOCALHEADERS)
32
729e4ab9 33install-headers: $(DOCDIR)
46f4442e
A
34 perl ./genheaders.pl --srcdir=$(DOCDIR) --destdir=$(COMMONHDR) --version=$(VERSION) --exclusion-list=$(EXCLUDE)
35 ( cd $(COMMONHDR) ; ls -l $(LOCALHEADERS) )
36
37%.h: $(COMMONHDR)/%.h
38 cp $< $@
729e4ab9 39