summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 13 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 6739f4e..2251d10 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ VERSION = 3a1
RELEASE = 1
rpm_prefix=/usr/src/redhat/
-prefix = /usr/local/
+prefix = debian/tmp/usr
exec_prefix = $(prefix)
# directory where `make install' will put executable.
bindir = $(exec_prefix)bin/
@@ -29,7 +29,7 @@ infodir = $(prefix)info/
PREVDOCS = prevdocs/
-htmldir=../public_html/
+htmldir=slib_html/
dvidir=../dvi/
RUNNABLE = scheme48
@@ -92,7 +92,7 @@ version.txi: Makefile
echo @set SLIBVERSION $(ver) > version.txi
echo @set SLIBDATE `date +"%B %Y"` >> version.txi
-scheme = scm
+scheme = guile-1.6
collect.sc:
echo "(require 'macros-that-work)" > collect.sc
@@ -104,7 +104,7 @@ collect.sc:
collectx.scm: collect.scm macwork.scm collect.sc
$(scheme) < collect.sc
-ffiles = printf.scm genwrite.scm pp.scm \
+ffiles = printf.scm genwrite.scm pp.scm format.scm \
ppfile.scm strcase.scm debug.scm trace.scm \
strport.scm scanf.scm qp.scm break.scm stdio.scm \
strsrch.scm prec.scm schmooz.scm defmacex.scm mbe.scm
@@ -157,13 +157,13 @@ ifiles = bigloo.init chez.init elk.init macscheme.init mitscheme.init \
scheme2c.init scheme48.init s48-0_57.init gambit.init t3.init \
vscm.init scm.init scsh.init pscheme.init STk.init \
RScheme.init DrScheme.init umbscheme.init guile.init
-tfiles = plottest.scm macrotst.scm dwindtst.scm
+tfiles = plottest.scm macrotst.scm dwindtst.scm formatst.scm
sfiles = $(ffiles) $(lfiles) $(revfiles) $(afiles) $(scfiles) $(efiles) \
$(rfiles) $(gfiles) $(scafiles) $(txiscms) $(srfiles)
allfiles = $(docfiles) $(mkfiles) $(ifiles) $(sfiles) $(tfiles) $(bfiles)
$(txifiles): $(txiscms) schmooz.scm
- $(scheme) -rschmooz -e'(schmooz "slib.texi")'
+ $(scheme) -l guile.init.local -c '(require '\''schmooz) (schmooz "slib.texi")'
dvi: $(dvidir)slib.dvi
$(dvidir)slib.dvi: version.txi slib.texi $(dvidir)slib.fn \
@@ -185,7 +185,7 @@ $(htmldir)slib.pdf: version.txi slib.texi $(dvidir)slib.fn schmooz.texi
xpdf: $(htmldir)slib.pdf
xpdf -z 3 $(htmldir)slib.pdf
-TEXI2HTML = /usr/local/bin/texi2html -split -verbose
+TEXI2HTML = texi2html -split chapter -verbose
slib_toc.html: $(txifiles) version.txi slib.texi schmooz.texi
${TEXI2HTML} slib.texi
html: $(htmldir)slib_toc.html
@@ -193,7 +193,7 @@ $(htmldir)slib_toc.html: slib_toc.html Makefile
-rm -f slib_stoc.html
if [ -f $(PREVDOCS)slib_toc.html ]; \
then hitch $(PREVDOCS)slib_\*.html slib_\*.html $(htmldir); \
- else cp slib_*.html $(htmldir);fi
+ else mkdir -p $(htmldir) ; cp slib_*.html $(htmldir);fi
slib$(VERSION).info: $(txifiles) version.txi slib.texi schmooz.texi
makeinfo slib.texi --no-warn --no-split -o slib.info
@@ -374,6 +374,11 @@ report:
clean:
-rm -f *~ *.bak *.orig *.rej core a.out *.o \#*
-rm -rf *temp
+ -rm -f slib$(VERSION).info
+ -rm -f version.txi
+ -rm -rf $(htmldir)
+ echo $(scheme) -l guile.init.local -c '(require '\''schmooz) (schmooz-which-files "slib.texi")'
+
distclean: realclean
realclean:
-rm -f *~ *.bak *.orig *.rej TAGS core a.out *.o \#*