]> andersk Git - moira.git/commitdiff
update makeconfig to use synctree and to link in all the files instead
authordanw <danw>
Fri, 11 Jul 1997 00:32:24 +0000 (00:32 +0000)
committerdanw <danw>
Fri, 11 Jul 1997 00:32:24 +0000 (00:32 +0000)
of just the Imakefiles.
typo in Imakefile

util/Imakefile
util/makeconfig

index 174d09a6d44e5b6927f8f3833c0407a416aeea26..167c92de5e8fa942b38587e5500561dfa39dbcc4 100644 (file)
@@ -9,7 +9,7 @@
 
 all::
 
-#ifdef GDSS
+#ifdef DO_GDSS
 do_subdirs(gdss)
 #endif
 
index 4a52784d7832b07ace5948e9576bc3f35d2025e6..0660728839df09afdb7d28ecd71256feb024964c 100644 (file)
 #
 # make -f makeconfig SRCDIR=/u2/lockers/moira DESTDIR=myconfig
 
-SHELL  = /bin/sh
 DESTDIR        = .
 SRCDIR         = /mit/moiradev/src
 
-LN     = cp
-SYMLINK = ln -s
+all:
+       synctree -q -s $(SRCDIR) -d $(DESTDIR)
 
-SUBDIR = backup clients db dbck dcm gdb gen include incremental \
-       lib reg_svr regtape server update clients/blanche \
-       clients/mailmaint clients/moira clients/mrcheck clients/mrtest \
-       clients/passwd clients/userreg clients/addusr clients/mmoira util man
+       rm -f $(DESTDIR)/Makefile
+       cp $(SRCDIR)/Makefile $(DESTDIR)/
+       chmod o+w $(DESTDIR)/Makefile
 
-all:
-       rm -f ${DESTDIR}/Makefile
-       ${LN} ${SRCDIR}/Makefile ${DESTDIR}/Makefile
-       rm -f ${DESTDIR}/Imakefile
-       ${SYMLINK} ${SRCDIR}/Imakefile ${DESTDIR}/Imakefile
-       chmod +w ${DESTDIR}/Makefile
-       -for i in ${SUBDIR}; do \
-               mkdir ${DESTDIR}/$$i; \
-               rm -f ${DESTDIR}/$$i/Imakefile; \
-               ${SYMLINK} ${SRCDIR}/$$i/Imakefile ${DESTDIR}/$$i/Imakefile; \
-       done
-       for i in imake makedepend imake.includes et; do \
-               make ${MFLAGS} -f ${SRCDIR}/util/$$i/Makefile SRCDIR=${SRCDIR} DESTDIR=${DESTDIR} config; \
-       done
+       rm -f $(DESTDIR)/util/imake.includes/config.Imakefile
+       sed -e "s|/mit/moiradev/src|${SRCDIR}|" \
+               ${SRCDIR}/util/imake.includes/config.Imakefile \
+               > ${DESTDIR}/util/imake.includes/config.Imakefile
This page took 0.09677 seconds and 5 git commands to generate.