Install headers from $(SRCDIR).

This commit is contained in:
Alexander V. Lukyanov 1999-03-17 15:17:12 +00:00 committed by Alexandre Julliard
parent d467835b3c
commit 0aa2008a41
1 changed files with 6 additions and 2 deletions

View File

@ -17,8 +17,12 @@ INSTALLED_INCLUDES = \
# Testing LIB_TARGET prevents installing header files
# when --disable-lib is used
install:: dummy
if [ $(LIB_TARGET) ]; then [ -d $(includedir) ] || $(MKDIR) $(includedir); \
$(INSTALL_DATA) $(INSTALLED_INCLUDES) $(includedir); fi
if [ $(LIB_TARGET) ]; then \
[ -d $(includedir) ] || $(MKDIR) $(includedir); \
for f in $(INSTALLED_INCLUDES); do \
$(INSTALL_DATA) $(SRCDIR)/$$f $(includedir); \
done; \
fi
# Don't just do a rm -rf on $(includedir) -- don't want to wipe out
# anything extra the user may have put there.