diff options
Diffstat (limited to 'maintainer-scripts')
-rw-r--r-- | maintainer-scripts/ChangeLog | 6 | ||||
-rwxr-xr-x | maintainer-scripts/update_web_docs_libstdcxx_git | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index a835391..dbbe1db 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -1,3 +1,9 @@ +2025-09-01 Gerald Pfeifer <gerald@pfeifer.com> + + * update_web_docs_libstdcxx_git: Copy our "inner" documentation + into the web area using rsync instead of cpio and remove orphaned + files. + 2025-07-04 Richard Biener <rguenther@suse.de> * crontab: Stop doing GCC 12 snapshots. diff --git a/maintainer-scripts/update_web_docs_libstdcxx_git b/maintainer-scripts/update_web_docs_libstdcxx_git index 570e7ff..6fbf2f8 100755 --- a/maintainer-scripts/update_web_docs_libstdcxx_git +++ b/maintainer-scripts/update_web_docs_libstdcxx_git @@ -35,8 +35,9 @@ cd $WORKDIR git -C $GITROOT archive master $GETTHIS | tar xf - cd $GETTHIS -# copy the tree to the onlinedocs area, preserve directory structure -find . -depth -print | cpio -pd $WWWDIR 2>&1 | egrep -v "$FILTER" +# Copy the tree to the libstdc++ onlinedocs area and remove orphans (taking +# care to keep some directories coming from a different source). +rsync -ahv --delete-after -f '- /images/*' -f '- /libstdc*' -f '- latest-doxygen' . $WWWDIR 2>&1 | egrep -v "$FILTER" err=${PIPESTATUS[1]} if [ $err -gt 0 ]; then @@ -45,4 +46,3 @@ fi cd / /bin/rm -rf $WORKDIR - |