3 # stuff we should do in the makefile
4 # but can't for portability reasons.
10 dotfiles="\${HOME}/$1 $dotfiles"
11 xxxfiles="${2%.lp} $xxxfiles"
12 cat <<EOF >> Makefile.local
21 gemfiles="gem/$1.gmi $gemfiles"
22 wwwfiles="www/$1.html $wwwfiles"
23 cat <<EOF >> Makefile.local
25 sed 's/EXT/gmi'/ $2 | ./unpar | ./gc > \$@
27 www/$1.html: gem/$1.gmi header.html footer.html
28 sed 's!TITLE!$1!' header.html > \$@
29 sed 's/EXT/html/' $2 | ./unpar | ./gc | ./gem2html >> \$@
30 cat footer.html >> \$@
37 pair .profile profile.lp
41 for file in $files; do
42 conv "${file%.lp}" "$file"
45 cat <<EOF >> Makefile.local
49 XXXFILES = $(printf "%s\n" $xxxfiles | sort | xargs echo)