Annotation of researchv10no/cmd/odist/genmkfile.sh, revision 1.1

1.1     ! root        1: #! /bin/sh
        !             2: echo "<mkconf.$1" > mkfile
        !             3: 
        !             4: cat << 'EOF' >> mkfile
        !             5: DIRS=ape tar $SYS
        !             6: 
        !             7: %-compile:V: paths.h
        !             8:        cd $stem; mk compile
        !             9: 
        !            10: %-install:V: %-compile
        !            11:        cd $stem; mk install
        !            12: 
        !            13: %-clean:V:
        !            14:        cd $stem; mk clean
        !            15: 
        !            16: compile:V: ${DIRS:%=%-compile}
        !            17: 
        !            18: install:V: ${DIRS:%=%-install}
        !            19: 
        !            20: clean:V: ${DIRS:%=%-clean}
        !            21:        rm -f paths.h
        !            22: 
        !            23: ape-compile:Pexit 1: $SYS-compile
        !            24: 
        !            25: paths.h: mkconf.$SYS
        !            26:        echo '#define LDIR "'$LDIR'"' > paths.h
        !            27:        echo '#define SDIR "'$SDIR'"' >> paths.h
        !            28: EOF

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.