]> andersk Git - moira.git/blame - util/makeconfig
use CODE=ANSI_C option to proc
[moira.git] / util / makeconfig
CommitLineData
ec1eb6ad 1# $Header$
2#
3# Copyright 1990 by the Massachusetts Institute of Technology.
4#
5# For copying and distribution information,
6# please see the file <mit-copyright.h>.
7#
8# Makefile for creating a Moira configuration
9#
10# This Makefile creates the directories needed to hold Moira
11# object files and executables. It also installs the Imakefiles.
12# This also copies in the Imake and make depend program and Imake macros.
13# By default, the Imakefiles are copied into the configuration
14# and made writeable. If a link is preferred, change LN to "ln".
15#
16# The default distination for the configuration is the current
17# directory; defaults for destination and source directories may be
18# specified, e.g.:
19#
20# make -f makeconfig SRCDIR=/u2/lockers/moira DESTDIR=myconfig
21
22DESTDIR = .
23SRCDIR = /mit/moiradev/src
24
9f201c0a 25SYNCTREE = /usr/athena/etc/synctree
26
90fc1cfc 27all:
9f201c0a 28 $(SYNCTREE) -q -s $(SRCDIR) -d $(DESTDIR)
ec1eb6ad 29
90fc1cfc 30 rm -f $(DESTDIR)/Makefile
31 cp $(SRCDIR)/Makefile $(DESTDIR)/
32 chmod o+w $(DESTDIR)/Makefile
ec1eb6ad 33
90fc1cfc 34 rm -f $(DESTDIR)/util/imake.includes/config.Imakefile
35 sed -e "s|/mit/moiradev/src|${SRCDIR}|" \
36 ${SRCDIR}/util/imake.includes/config.Imakefile \
37 > ${DESTDIR}/util/imake.includes/config.Imakefile
This page took 0.060349 seconds and 5 git commands to generate.