Changeset 7818e780 for Makefile


Ignore:
Timestamp:
01/25/2007 07:55:05 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
60844b8
Parents:
9268fb5
Message:

Fixed some missing links in wget-list target.
Added test-links target.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6464 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r9268fb5 r7818e780  
    4545        done;
    4646
    47 wget-list:
    48         mkdir -p $(BASEDIR)
    49         xsltproc --xinclude --nonet stylesheets/wget-list.xsl index.xml > $(BASEDIR)/wget-list
    5047
    5148nochunks:
     
    110107        rm blfs-patches
    111108
    112 .PHONY : blfs-patch-list
     109wget-list:
     110        mkdir -p $(BASEDIR)
     111        xsltproc --xinclude --nonet stylesheets/wget-list.xsl index.xml > $(BASEDIR)/wget-list
     112
     113test-links:
     114        mkdir -p $(BASEDIR)
     115        xsltproc --xinclude --nonet --stringparam list_mode full \
     116            stylesheets/wget-list.xsl index.xml > $(BASEDIR)/test-links
     117        for URL in `cat $(BASEDIR)/test-links`; do \
     118            wget --spider --tries=2 --timeout=60 $$URL >>/dev/null 2>&1; \
     119            if test $$? -ne 0 ; then echo $$URL >> $(BASEDIR)/bad_urls ; \
     120            else echo $$URL >> $(BASEDIR)/good_urls 2>&1; \
     121            fi; \
     122        done
     123        for URL2 in `cat $(BASEDIR)/bad_urls`; do \
     124            wget --spider --tries=2 --timeout=60 $$URL2 >>/dev/null 2>&1; \
     125            if test $$? -ne 0 ; then echo $$URL2 >> $(BASEDIR)/true_bad_urls ; \
     126            else echo $$URL2 >> $(BASEDIR)/good_urls 2>&1; \
     127            fi; \
     128        done
     129
     130.PHONY : blfs-patch-list wget-list test-links
Note: See TracChangeset for help on using the changeset viewer.