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 # Testing LIB_TARGET prevents installing header files
# when --disable-lib is used # when --disable-lib is used
install:: dummy install:: dummy
if [ $(LIB_TARGET) ]; then [ -d $(includedir) ] || $(MKDIR) $(includedir); \ if [ $(LIB_TARGET) ]; then \
$(INSTALL_DATA) $(INSTALLED_INCLUDES) $(includedir); fi [ -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 # Don't just do a rm -rf on $(includedir) -- don't want to wipe out
# anything extra the user may have put there. # anything extra the user may have put there.