ICU-6297 simplify generation of udeprctd.h
X-SVN-Rev: 23963
This commit is contained in:
parent
c2ae3e30a4
commit
4ce5af7dc3
39
icu4c/source/tools/gendraft/Makefile
Normal file
39
icu4c/source/tools/gendraft/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
#*******************************************************************************
|
||||
#* Copyright (C) 2008, International Business Machines
|
||||
#* Corporation and others. All Rights Reserved.
|
||||
#*******************************************************************************
|
||||
|
||||
#sorry, this won't be friendly to out of source builds
|
||||
|
||||
srcdir=.
|
||||
top_srcdir=../..
|
||||
top_builddir=../..
|
||||
|
||||
include $(top_builddir)/icudefs.mk
|
||||
|
||||
LOCALHEADERS= udeprctd.h udraft.h uintrnal.h usystem.h
|
||||
|
||||
COMMONHDR= $(top_srcdir)/common/unicode
|
||||
DOCDIR= $(top_builddir)/doc/html
|
||||
EXCLUDE=$(srcdir)/exclude.txt
|
||||
|
||||
all:
|
||||
@echo Usage: 'make install-headers' to update headers.
|
||||
@echo 'be sure to verify the headers (in soure/common/unicode) before checkin!'
|
||||
@exit 1
|
||||
|
||||
clean:
|
||||
-$(RMV) $(LOCALHEADERS)
|
||||
|
||||
$(DOCDIR):
|
||||
( cd $(top_builddir) ; $(MAKE) doc )
|
||||
|
||||
local-headers: $(LOCALHEADERS)
|
||||
|
||||
install-headers: $(DOCDIR) $(LOCALHEADERS)
|
||||
perl ./genheaders.pl --srcdir=$(DOCDIR) --destdir=$(COMMONHDR) --version=$(VERSION) --exclusion-list=$(EXCLUDE)
|
||||
( cd $(COMMONHDR) ; ls -l $(LOCALHEADERS) )
|
||||
|
||||
%.h: $(COMMONHDR)/%.h
|
||||
cp $< $@
|
||||
|
Loading…
Reference in New Issue
Block a user