]> git.donarmstrong.com Git - lilypond.git/blobdiff - cygwin/mknetrel
(Lilypond_snippet.is_outdated): fix
[lilypond.git] / cygwin / mknetrel
index 3bab9578029a9564c472831f42c5e97ee0f6b35d..a782c521a8198cc11fe7448c3d163228f04c8c47 100644 (file)
@@ -123,7 +123,7 @@ preinstall () {
 #    else
     if iscygwin; then
        #EXTRAINSTALLARGS="web-install target=i686-pc-cygwin"
-       addmakeflags web-install
+       addmakeflags webdir="$inst-doc/$packagedocdir" ' ' web-install
     fi
 }
 
@@ -142,12 +142,11 @@ postinstall () {
     cd $src || exit 1
     install -d -m755 $inst/$packagedocdir
 
-    ## Generic READMEs -- too crude!
-    ## find . -maxdepth 1 -type f -exec install -m644 \{\} \
-    ##   $inst/$packagedocdir \;
-    
-    install -m644 AUTHORS.txt COPYING ChangeLog DEDICATION INSTALL.txt \
-       NEWS.txt README.txt THANKS VERSION $inst/$packagedocdir
+    install -m644  COPYING ChangeLog DEDICATION THANKS VERSION $inst/$packagedocdir
+
+    # txt files reside elsewhere
+    cd $build/Documentation/topdocs/out
+    install -m644 AUTHORS.txt INSTALL.txt NEWS.txt README.txt $inst/$packagedocdir
 
     ## Cygwin readmes
     cygwin=cygwin
@@ -162,7 +161,12 @@ postinstall () {
     ## copy examples
     cd $src || exit 1
     cp -prv input $inst/$packagedocdir
+       cd $inst/$packagedocdir
+       rm -rf $(find -name 'CVS')
+
+    #cd $inst-doc/$packagedocdir &&
+    #ln -s $(find html/Documentation -name '*.ps.gz') .
 
-    cd $inst-doc/$packagedocdir &&
-    ln -s $(find html/Documentation -name '*.ps.gz') .
+    install -d -m755 $inst-doc/$infodir/lilypond
+    cd $inst-doc/$infodir/lilypond && ln -sf ../../doc/$base-$ver/Documentation/user/out-www/*png .
 }