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