]> andersk Git - moira.git/commitdiff
symlink template and rules
authorjtkohl <jtkohl>
Sun, 22 Jan 1989 11:03:54 +0000 (11:03 +0000)
committerjtkohl <jtkohl>
Sun, 22 Jan 1989 11:03:54 +0000 (11:03 +0000)
util/imake.includes/Makefile

index 1ec3bc3900e6a2bf4f65b27963bce4bfdfb49d6f..998f31c31298cae06f812c04c718006d56854fd6 100644 (file)
@@ -8,19 +8,23 @@
 # <mit-copyright.h>.
 #
 # Makefile for copying Imake configuration files
-SOURCES = \
+LNSOURCES = \
        ${SRCDIR}/util/imake.includes/Imake.rules \
-       ${SRCDIR}/util/imake.includes/Imake.template \
-       ${SRCDIR}/util/imake.includes/config.Imakefile
+       ${SRCDIR}/util/imake.includes/Imake.template
+CPSOURCES = ${SRCDIR}/util/imake.includes/config.Imakefile
 DESTDIR =
 SRCDIR = /mit/kerberos/src
-CP = /bin/cp
+CP = cp
+LN = ln -s
 RM = rm -f
 
 config: $(SOURCES)
        -mkdir $(DESTDIR)/util
        -mkdir $(DESTDIR)/util/imake.includes
-       for i in $(SOURCES); do \
+       for i in $(CPSOURCES); do \
                $(RM) ${DESTDIR}/util/imake.includes/`basename $$i`; \
                $(CP) $$i ${DESTDIR}/util/imake.includes/`basename $$i`; done
+       for i in $(LNSOURCES); do \
+               $(RM) ${DESTDIR}/util/imake.includes/`basename $$i`; \
+               $(LN) $$i ${DESTDIR}/util/imake.includes/`basename $$i`; done
 
This page took 0.044223 seconds and 5 git commands to generate.