]> sourceware.org Git - newlib-cygwin.git/commitdiff
cygwin doc: install-html: Fix docbook.css and index.html symlink installation
authorCorinna Vinschen <corinna@vinschen.de>
Sat, 22 Apr 2017 11:49:27 +0000 (13:49 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Sat, 22 Apr 2017 12:02:33 +0000 (14:02 +0200)
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/doc/Makefile.in

index dcba13337c42b48a6cd694cf4efa0df84f893c9c..252ed5b5ad220629fe5c11979c625ae88d547906 100644 (file)
@@ -75,12 +75,12 @@ install-pdf: cygwin-ug-net/cygwin-ug-net.pdf cygwin-api/cygwin-api.pdf
 install-html: cygwin-ug-net/cygwin-ug-net.html cygwin-api/cygwin-api.html
        @$(MKDIRP) $(DESTDIR)$(htmldir)/cygwin-ug-net
        $(INSTALL_DATA) cygwin-ug-net/*.html $(DESTDIR)$(htmldir)/cygwin-ug-net
-       -ln $(DESTDIR)$(htmldir)/cygwin-ug-net/cygwin-ug-net.html $(DESTDIR)$(htmldir)/cygwin-ug-net/index.html
-       $(INSTALL_DATA) docbook.css $(DESTDIR)$(htmldir)/cygwin-ug-net
+       -(cd $(DESTDIR)$(htmldir)/cygwin-ug-net && ln -f cygwin-ug-net.html index.html)
+       $(INSTALL_DATA) $(srcdir)/docbook.css $(DESTDIR)$(htmldir)/cygwin-ug-net
        @$(MKDIRP) $(DESTDIR)$(htmldir)/cygwin-api
        $(INSTALL_DATA) cygwin-api/*.html $(DESTDIR)$(htmldir)/cygwin-api
-       -ln $(DESTDIR)$(htmldir)/cygwin-api/cygwin-api.html $(DESTDIR)$(htmldir)/cygwin-api/index.html
-       $(INSTALL_DATA) docbook.css $(DESTDIR)$(htmldir)/cygwin-api
+       -(cd $(DESTDIR)$(htmldir)/cygwin-api && ln -f cygwin-api.html index.html)
+       $(INSTALL_DATA) $(srcdir)/docbook.css $(DESTDIR)$(htmldir)/cygwin-api
 
 install-man: utils2man.stamp api2man.stamp intro2man.stamp
        @$(MKDIRP) $(DESTDIR)$(man1dir)
This page took 0.033166 seconds and 5 git commands to generate.