The Makefile.am I am looking at has:
nobase_include_HEADERS = histedit.h editline/readline.h
The Makefile.in (generated by automake 1.9.5) does:
nobase_include_HEADERS = histedit.h editline/readline.h
...
install-nobase_includeHEADERS: $(nobase_include_HEADERS)
@$(NORMAL_INSTALL)
test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
@$(am__vpath_adj_setup) \
list='$(nobase_include_HEADERS)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
$(am__vpath_adj) \
echo " $(nobase_includeHEADERS_INSTALL) '$$d$$p'
'$(DESTDIR)$(includedir)/$$f'"; \
$(nobase_includeHEADERS_INSTALL) "$$d$$p"
"$(DESTDIR)$(includedir)/$$f"; \
done
Should it also precreate the "editline" subdirectory also?
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/