diff --git a/winsup/ChangeLog b/winsup/ChangeLog index b40115d07..755903941 100644 --- a/winsup/ChangeLog +++ b/winsup/ChangeLog @@ -1,3 +1,8 @@ +2006-08-30 Christopher Faylor + + * Makefile.in: Make install-license .PHONY. Make sure that doc + directory is created before copying to it. + 2006-08-30 Corinna Vinschen * Makefile.in: Make installation of CYGWIN_LICENSE configurable. diff --git a/winsup/Makefile.in b/winsup/Makefile.in index 5aae11601..7508d439b 100644 --- a/winsup/Makefile.in +++ b/winsup/Makefile.in @@ -48,7 +48,7 @@ ZLIB=${findstring zlib,$(SUBDIRS)} INSTALL_LICENSE:=@INSTALL_LICENSE@ -.PHONY: all install clean all-info info install-info check \ +.PHONY: all install clean all-info info install-info install-license check \ $(SUBDIRS) $(INSTALL_SUBDIRS) $(CLEAN_SUBDIRS) .SUFFIXES: @@ -64,7 +64,8 @@ endif all: Makefile $(SUBDIRS) install-license: CYGWIN_LICENSE - $(INSTALL_DATA) $(srcdir)/CYGWIN_LICENSE $(prefix)/share/doc/Cygwin/CYGWIN_LICENSE + ${INSTALL} -d $(prefix)/share/doc/Cygwin + ${INSTALL} $^ $(prefix)/share/doc/Cygwin install: Makefile $(INSTALL_LICENSE) $(INSTALL_SUBDIRS)