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: [EMAIL PROTECTED]
<http://www.endoframe.com>                      Jabber: [EMAIL PROTECTED]


Reply via email to