Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 154 lines (137 sloc) 4.16 kb
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
1 #
2 # ${RHOME}/Makefile
3
4 VPATH = @srcdir@
5 srcdir = @srcdir@
6 top_srcdir = @top_srcdir@
7
8 top_builddir = .
9
10 include $(top_builddir)/Makeconf
11
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
12 distdir = $(PACKAGE)-$(VERSION)
13 DISTFILES = COPYING COPYRIGHTS INSTALL MIRROR-SITES NEWS PLATFORMS \
14 PROJECTS README RESOURCES TASKS \
15 Makeconf.in Makefile.in \
16 config.site configure configure.in configure.mac configure.win \
17 date-stamp
1d792911 » hornik
1998-10-13 Improve `distclean'.
18 SUBDIRS = src afm demos doc etc tests
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
19
20 GZIP = --best
21
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
22 all: Makefile R docs
1f7ea5b8 » hornik
1998-09-17 Rewrite.
23
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
24 Makefile:
25 $(srcdir)/Makefile.in $(top_builddir)/config.status
26 cd $(top_builddir) \
27 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
28
aa7eb80a » pd
1998-12-04 branch update
29 R:
0aaec01b » hornik
1998-09-22 Add demos in install and clean.
30 @for d in afm demos doc etc src; do \
aa7eb80a » pd
1998-12-04 branch update
31 (cd $${d} && $(MAKE) R) || exit 1; \
0aaec01b » hornik
1998-09-22 Add demos in install and clean.
32 done
1f7ea5b8 » hornik
1998-09-17 Rewrite.
33 @if [ ! -f src/library/stamp-docs ]; then \
34 echo "You should \`make docs' now ..."; \
35 fi
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
36
aafd5980 » pd
1999-01-06 Branch update + setjmp problem fixup
37 src/include/Platform.h: $(srcdir)/date-stamp
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
38 $(top_srcdir)/configure --srcdir $(top_srcdir)
39
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
40 docs help html latex examples:: FORCE
41 -@(cd src/library && $(MAKE) $@)
1f7ea5b8 » hornik
1998-09-17 Rewrite.
42 FORCE:
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
43
44 install: all installdirs
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
45 @for d in afm demos doc etc; do \
aa7eb80a » pd
1998-12-04 branch update
46 (cd $${d} && $(MAKE) $@) || exit 1; \
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
47 done
1f7ea5b8 » hornik
1998-09-17 Rewrite.
48 @(cd $(srcdir); \
49 for f in COPYING COPYRIGHTS MIRROR-SITES RESOURCES; do \
aa7eb80a » pd
1998-12-04 branch update
50 $(INSTALL_DATA) $${f} $(rhome); \
1f7ea5b8 » hornik
1998-09-17 Rewrite.
51 done)
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
52 @echo "Installing executables ..."
53 @$(INSTALL_PROGRAM) bin/R.binary $(rhome)/bin
54 @cat bin/R | sed "s@RHOME=.*@RHOME=$(rhome)@" > $(rhome)/bin/R
55 @cat bin/R | sed "s@RHOME=.*@RHOME=$(rhome)@" > $(bindir)/R
aafd5980 » pd
1999-01-06 Branch update + setjmp problem fixup
56 @chmod 755 $(bindir)/R $(rhome)/bin/R
57 @for f in `ls bin/* | grep -v '^bin/\(R\|R.binary\)\**$$'`; do \
aa7eb80a » pd
1998-12-04 branch update
58 $(INSTALL) $${f} $(rhome)/bin; \
1f7ea5b8 » hornik
1998-09-17 Rewrite.
59 done
60 @for f in Rd2txt Rdconv Rdindex Sd2Rd; do \
aa7eb80a » pd
1998-12-04 branch update
61 $(INSTALL) bin/$${f} $(bindir); \
1f7ea5b8 » hornik
1998-09-17 Rewrite.
62 done
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
63 @echo "Installing headers ..."
1f7ea5b8 » hornik
1998-09-17 Rewrite.
64 @for f in include/*.h; do \
aa7eb80a » pd
1998-12-04 branch update
65 $(INSTALL_DATA) $${f} $(rhome)/include; \
1f7ea5b8 » hornik
1998-09-17 Rewrite.
66 done
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
67 @echo "Installing library ..."
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
68 @cd library; $(TAR) cf - [a-z]* | (cd $(rhome)/library; tar xf -)
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
69 @echo " Building help index ..."
70 @(cd $(rhome)/library; cat */TITLE > LibIndex 2> /dev/null)
71 @echo " Building HTML index ..."
72 @$(rhome)/bin/build-help --rhome $(rhome) --htmllists
afe5b256 » hornik
1998-09-15 Improve installdirs target.
73 installdirs:
1f7ea5b8 » hornik
1998-09-17 Rewrite.
74 @$(MKINSTALLDIRS) $(bindir)
75 @$(MKINSTALLDIRS) $(rhome)/bin
76 @$(MKINSTALLDIRS) $(rhome)/include
77 @$(MKINSTALLDIRS) $(rhome)/library
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
78 install-strip:
79 $(MAKE) INSTALL_PROGRAM="${INSTALL_PROGRAM} -s" install
80 uninstall:
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
81 @echo "Uninstalling library ..."
82 @(cd $(rhome)/library; \
aa7eb80a » pd
1998-12-04 branch update
83 for p in base eda modreg mva stepfun; do rm -rf $${p}; done)
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
84 @echo " Rebuilding help index ..."
85 @(cd $(rhome)/library; cat */TITLE > LibIndex 2> /dev/null)
86 @echo " Rebuilding HTML index ..."
87 @$(rhome)/bin/build-help --rhome $(rhome) --htmllists
88 @echo "Uninstalling headers ..."
89 @rm -rf $(rhome)/include
90 @echo "Uninstalling executables ..."
91 @rm -rf $(rhome)/bin
92 @for f in R Rd2txt Rdconv Rdindex Sd2Rd; do \
aa7eb80a » pd
1998-12-04 branch update
93 rm -f $(bindir)/$${f}; \
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
94 done
95 @for f in COPYING COPYRIGHTS MIRROR-SITES RESOURCES; do \
aa7eb80a » pd
1998-12-04 branch update
96 rm -f $(rhome)/$${f}; \
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
97 done
98 @for d in afm demos doc etc; do \
aa7eb80a » pd
1998-12-04 branch update
99 (cd $${d} && $(MAKE) $@); \
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
100 done
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
101
1f7ea5b8 » hornik
1998-09-17 Rewrite.
102 mostlyclean: clean
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
103 clean:
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
104 @for d in $(SUBDIRS); do \
aa7eb80a » pd
1998-12-04 branch update
105 (cd $${d} && $(MAKE) $@); \
1f7ea5b8 » hornik
1998-09-17 Rewrite.
106 done
aa7eb80a » pd
1998-12-04 branch update
107
1f7ea5b8 » hornik
1998-09-17 Rewrite.
108 distclean: clean
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
109 @for d in $(SUBDIRS); do \
110 (cd $${d} && $(MAKE) $@); \
1f7ea5b8 » hornik
1998-09-17 Rewrite.
111 done
ba3f3cca » hornik
1998-10-20 Have make distclean completely remove `bin', `include', and `library'.
112 @rm -rf bin include library
8d5746d2 » hornik
1998-10-14 Have make clean delete Makefrag.*
113 @rm -f Makeconf Makefile Makefile.bak Makefrag.* \
1f7ea5b8 » hornik
1998-09-17 Rewrite.
114 config.cache config.log config.status
115 maintainer-clean: distclean
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
116
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
117 dist: dist-unix
118 dist-unix: distdir
119 -chmod -R a+r $(distdir)
5e4482c3 » hornik
1998-10-08 Improve distdir.
120 GZIP=$(GZIP) $(TAR) chzf $(distdir).tar.gz $(distdir)
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
121 rm -rf $(distdir)
122 dist-win:
123 distdir: $(DISTFILES)
124 @rm -rf $(distdir)
125 @mkdir $(distdir)
126 @-chmod 755 $(distdir)
127 @for f in $(DISTFILES); do \
128 test -f $(distdir)/$${f} \
129 || ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \
130 || cp -p $(srcdir)/$${f} $(distdir)/$${f}; \
131 done
132 @for d in $(SUBDIRS); do \
133 test -d $(distdir)/$${d} \
134 || mkdir $(distdir)/$${d} \
135 || exit 1; \
136 chmod 755 $(distdir)/$${d}; \
137 (cd $${d} && $(MAKE) distdir) \
138 || exit 1; \
139 done
140 @for d in aux debian; do \
5e4482c3 » hornik
1998-10-08 Improve distdir.
141 ((cd $(srcdir); $(TAR) -c -f - --exclude=CVS $${d}) \
142 | (cd $(distdir); $(TAR) -x -f -)) \
a2d7cb87 » hornik
1998-10-05 Remove `stamp-R' when updating.
143 || exit 1; \
144 done
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
145
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
146 dvi:
147 -@(cd doc && $(MAKE) $@)
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
148 info:
149
150 TAGS:
151
af1b03b8 » maechler
1998-10-14 test-All, not just test-Examples
152 check test:: test-All
e281dcff » hornik
1998-09-15 Merged from `Makefile' and `Makefile.2nd'.
153 test-All test-Examples::
a16651d0 » hornik
1998-09-28 New targets Makefile and uninstall.
154 -@(cd tests && $(MAKE) $@)
Something went wrong with that request. Please try again.