]>
Commit | Line | Data |
---|---|---|
7e4279ca | 1 | # $Source$ |
2 | # $Author$ | |
3 | # $Header$ | |
4 | # | |
5 | # Copyright 1988 by the Massachusetts Institute of Technology. | |
6 | # | |
7 | # For copying and distribution information, please see the file | |
8 | # <mit-copyright.h>. | |
9 | # | |
10 | # Makefile for copying Imake configuration files | |
478bf647 | 11 | LNSOURCES = \ |
7e4279ca | 12 | ${SRCDIR}/util/imake.includes/Imake.rules \ |
94335dcc | 13 | ${SRCDIR}/util/imake.includes/Imake.tmpl |
478bf647 | 14 | CPSOURCES = ${SRCDIR}/util/imake.includes/config.Imakefile |
7e4279ca | 15 | DESTDIR = |
eba062ad | 16 | SRCDIR = /mit/moiradev/src |
478bf647 | 17 | CP = cp |
18 | LN = ln -s | |
7e4279ca | 19 | RM = rm -f |
20 | ||
21 | config: $(SOURCES) | |
7e4279ca | 22 | -mkdir $(DESTDIR)/util/imake.includes |
478bf647 | 23 | for i in $(CPSOURCES); do \ |
7e4279ca | 24 | $(RM) ${DESTDIR}/util/imake.includes/`basename $$i`; \ |
25 | $(CP) $$i ${DESTDIR}/util/imake.includes/`basename $$i`; done | |
478bf647 | 26 | for i in $(LNSOURCES); do \ |
27 | $(RM) ${DESTDIR}/util/imake.includes/`basename $$i`; \ | |
28 | $(LN) $$i ${DESTDIR}/util/imake.includes/`basename $$i`; done | |
eba062ad | 29 | $(RM) ${DESTDIR}/util/imake.includes/config.Imakefile |
30 | sed -e "s|/mit/moiradev/src|${SRCDIR}|" \ | |
31 | ${SRCDIR}/util/imake.includes/config.Imakefile \ | |
32 | > ${DESTDIR}/util/imake.includes/config.Imakefile |