aboutsummaryrefslogtreecommitdiffstats
path: root/math/jacal/files/patch-Makefile
blob: d198631ae19d2276d20cdd4511964a8a5f197d85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
--- Makefile.orig   2012-03-28 01:06:27.000000000 +0600
+++ Makefile    2012-03-28 01:06:39.000000000 +0600
@@ -51,9 +51,6 @@
 
 # ./configure --distdir=${HOME}/dist/ --snapdir=${HOME}/pub/ --docdir=${HOME}/public_html/
 
-config.status:
-   ./configure
-Makefile: config.status
 include config.status
 
 prevdocsdir = prevdocs/
@@ -86,9 +83,6 @@
    mkdir -p $(DESTDIR)$(jacallibdir)
    mkdir -p $(DESTDIR)$(bindir)
    mkdir -p $(DESTDIR)$(infodir)
-   mkdir -p $(DESTDIR)$(htmldir)
-   mkdir -p $(DESTDIR)$(pdfdir)
-   mkdir -p $(DESTDIR)$(dvidir)
 
 jacal.dvi: jacal.texi version.txi
    $(TEXI2DVI) -b -c $<
@@ -142,16 +136,9 @@
    cd DOC/; pdflatex ratint.tex
    $(INSTALL_DATA) DOC/ratint.pdf $(DESTDIR)$(pdfdir)
 
-jacal-$(VERSION).info: jacal.texi version.txi
-   $(MAKEINFO) $< --no-split -o $@
-jacal.info: jacal-$(VERSION).info
-   if [ -f $(prevdocsdir)jacal.info ];\
-     then infobar $(prevdocsdir)jacal.info $< $@;\
-     else cp jacal-$(VERSION).info jacal.info;fi
-$(DESTDIR)$(infodir)jacal.info:    jacal.info
-   $(INSTALL_DATA) $< $@
-   -$(INSTALL_INFO) $@ $(DESTDIR)$(infodir)dir
-   -rm $(DESTDIR)$(infodir)-jacal.info.gz
+$(DESTDIR)$(infodir)jacal.info:        jacal.texi version.txi
+   $(MAKEINFO) $< --no-split -o jacal.info
+   $(INSTALL_DATA) jacal.info $@
 install-info:  $(DESTDIR)$(infodir)jacal.info
 info:  install-info
 $(DESTDIR)$(infodir)jacal.info.gz: $(DESTDIR)$(infodir)jacal.info
@@ -195,7 +182,6 @@
    $(INSTALL_DATA) go-scm $(DESTDIR)$(jacallibdir)go.scm
    rm go-scm
    echo '#! /bin/sh'              > jacal-script
-   grep -h ^SCHEME_LIBRARY_PATH= `which slib`>> jacal-script
    echo export SCHEME_LIBRARY_PATH       >> jacal-script
    echo JACALDIR=$(DESTDIR)$(jacallibdir)    >> jacal-script
    echo VERSION=$(VERSION)           >> jacal-script