[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
More fun with BUILT_SOURCES
From: |
Braden McDaniel |
Subject: |
More fun with BUILT_SOURCES |
Date: |
Mon, 13 Nov 2000 21:39:03 -0500 (EST) |
I have an automake script of the following form:
PUBLIC_HFILES = file1.h file2.h
PRIVATE_HFILES = file3.h file4.h
BUILT_SOURCES = file1.h
file1.h: deps
generate file1.h from deps
if INSTALL_PUBLIC_HFILES
include_HEADERS = $(PUBLIC_HFILES)
noinst_HEADERS = $(PRIVATE_HFILES)
else
noinst_HEADERS = $(PUBLIC_HFILES) $(PRIVATE_HFILES)
endif
The problem is that the generated header file (file1.h) never gets
generated. If file1.h occurs directly in one of the *_HEADERS variables,
there is no problem.
I realize that BUILT_SOURCES is known to be problematic, but I haven't
found any other solution. Any suggestions?
--
Braden N. McDaniel e-mail: address@hidden
<http://www.endoframe.com> Jabber: address@hidden
- More fun with BUILT_SOURCES,
Braden McDaniel <=