* lib/Makefile.in: Install header files in w32api subdirectory.

This commit is contained in:
Christopher Faylor 2000-11-04 02:51:36 +00:00
parent c2445f2abc
commit 46209564d4
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,7 @@
Fri Nov 3 21:50:47 2000 Christopher Faylor <cgf@cygnus.com>
* lib/Makefile.in: Install header files in w32api subdirectory.
2000-10-31 Earnie Boyd <earnie_boyd@yahoo.com>
* CONTRIBUTIONS: New file.

View File

@ -134,9 +134,10 @@ xinstall-libraries: all
done
xinstall-headers:
$(mkinstalldirs) $(tooldir)/include
$(mkinstalldirs) $(tooldir)/include/w32api
for i in $(HEADERS); do \
$(INSTALL_DATA) $(srcdir)/../include/$$i $(tooldir)/include/$$i ; \
$(INSTALL_DATA) $(srcdir)/../include/$$i $(tooldir)/include/w32api/$$i ; \
echo "#include <w32api/$$i>" > $(tooldir)/include/$$i ; \
done
# uninstall headers and libraries from a target specified directory
@ -162,9 +163,10 @@ install-libraries: all
done
install-headers:
$(mkinstalldirs) $(exec_prefix)/include
$(mkinstalldirs) $(exec_prefix)/include/w32api
for i in $(HEADERS); do \
$(INSTALL_DATA) $(srcdir)/../include/$$i $(exec_prefix)/include/$$i ; \
$(INSTALL_DATA) $(srcdir)/../include/$$i $(exec_prefix)/include/w32api/$$i ; \
echo "#include <w32api/$$i>" > $(exec_prefix)/include/$$i ; \
done
# uninstall headers and libraries