]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/tools/gendraft/Makefile
ICU-511.35.tar.gz
[apple/icu.git] / icuSources / tools / gendraft / Makefile
... / ...
CommitLineData
1#*******************************************************************************
2#* Copyright (C) 2008-2011, International Business Machines
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
14LOCALHEADERS= udeprctd.h udraft.h uintrnal.h usystem.h
15
16COMMONHDR= $(top_srcdir)/common/unicode
17DOCDIR= $(top_builddir)/doc/html
18EXCLUDE=$(srcdir)/exclude.txt
19-include Makefile.local
20
21all:
22 @echo Usage: 'make install-headers' to update headers.
23 @echo 'be sure to verify the headers (in soure/common/unicode) before checkin!'
24 @exit 1
25
26clean:
27 -$(RMV) $(LOCALHEADERS)
28
29$(DOCDIR):
30 ( cd $(top_builddir) ; $(MAKE) doc )
31
32local-headers: $(LOCALHEADERS)
33
34install-headers: $(DOCDIR)
35 perl ./genheaders.pl --srcdir=$(DOCDIR) --destdir=$(COMMONHDR) --version=$(VERSION) --exclusion-list=$(EXCLUDE) $(GENHEADERS_OPTS)
36 ( cd $(COMMONHDR) ; ls -l $(LOCALHEADERS) )
37
38%.h: $(COMMONHDR)/%.h
39 cp $< $@
40