Mercurial > hg > octave-nkf > gnulib-hg
annotate modules/c++defs @ 14107:c1a1f592f879
replace include_HEADERS with pkgincludedir_HEADERS
author | Bruce Korb <bkorb@gnu.org> |
---|---|
date | Tue, 16 Nov 2010 13:07:00 -0800 |
parents | f49fe7e6d028 |
children | 873a3371d1d2 |
rev | line source |
---|---|
12928 | 1 Description: |
2 Function declaration macros with C++ support. | |
3 | |
4 Applicability: | |
5 all | |
6 | |
7 Files: | |
8 build-aux/c++defs.h | |
9 | |
10 Depends-on: | |
11 | |
12 configure.ac: | |
13 | |
14 Makefile.am: | |
14107
c1a1f592f879
replace include_HEADERS with pkgincludedir_HEADERS
Bruce Korb <bkorb@gnu.org>
parents:
14102
diff
changeset
|
15 nodist_pkgincludedir_HEADERS += c++defs.h |
14102
f49fe7e6d028
add _HEADERS primaries to Makefile.am snippets for installable headers
Gary V. Vaughan <gary@gnu.org>
parents:
12928
diff
changeset
|
16 |
12928 | 17 # The BUILT_SOURCES created by this Makefile snippet are not used via #include |
18 # statements but through direct file reference. Therefore this snippet must be | |
19 # present in all Makefile.am that need it. This is ensured by the applicability | |
20 # 'all' defined above. | |
21 | |
22 BUILT_SOURCES += c++defs.h | |
23 # The c++defs.h that gets inserted into generated .h files is the same as | |
24 # build-aux/c++defs.h, except that it has the copyright header cut off. | |
25 c++defs.h: $(top_srcdir)/build-aux/c++defs.h | |
26 $(AM_V_GEN)rm -f $@-t $@ && \ | |
27 sed -n -e '/_GL_CXXDEFS/,$$p' \ | |
28 < $(top_srcdir)/build-aux/c++defs.h \ | |
29 > $@-t && \ | |
30 mv $@-t $@ | |
31 MOSTLYCLEANFILES += c++defs.h c++defs.h-t | |
32 | |
33 CXXDEFS_H=c++defs.h | |
34 | |
35 Include: | |
36 | |
37 License: | |
38 LGPLv2+ | |
39 | |
40 Maintainer: | |
41 Bruno Haible |