yaifo Makefile,1.24,1.25

From: Michael Erdely <merdely_at_**********.***>
Date: Sun Mar 08 2009 - 17:31:34 EDT

Update of /cvsroot/yaifo/yaifo
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1377

Modified Files:
        Makefile
Log Message:
Enable my {check,do}-updates targets when obj exists (no relative paths).

Index: Makefile
===================================================================
RCS file: /cvsroot/yaifo/yaifo/Makefile,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- Makefile 25 Feb 2009 04:36:28 -0000 1.24
+++ Makefile 8 Mar 2009 21:31:29 -0000 1.25
@@ -252,17 +252,17 @@
 
 .endif
 
-YAIFO_FILES = ./dot.profile ${SRCDIR}/distrib/miniroot/dot.profile \
- ./install.sh ${SRCDIR}/distrib/miniroot/install.sh \
- ./install.sub ${SRCDIR}/distrib/miniroot/install.sub \
- ./list ${SRCDIR}/distrib/miniroot/list \
- ./sshd_config ${SRCDIR}/usr.bin/ssh/sshd_config \
- ./alpha/RAMDISK_YAIFO ${SRCDIR}/sys/arch/alpha/conf/RAMDISKBIG \
- ./amd64/RAMDISK_YAIFO ${SRCDIR}/sys/arch/amd64/conf/RAMDISK_CD \
- ./i386/RAMDISK_YAIFO ${SRCDIR}/sys/arch/i386/conf/RAMDISK_CD \
- ./macppc/RAMDISK_YAIFO ${SRCDIR}/sys/arch/macppc/conf/RAMDISK \
- ./sparc/RAMDISK_YAIFO ${SRCDIR}/sys/arch/sparc/conf/RAMDISK \
- ./sparc64/RAMDISK_YAIFO ${SRCDIR}/sys/arch/sparc64/conf/RAMDISK
+YAIFO_FILES = ${.CURDIR}/dot.profile ${SRCDIR}/distrib/miniroot/dot.profile \
+ ${.CURDIR}/install.sh ${SRCDIR}/distrib/miniroot/install.sh \
+ ${.CURDIR}/install.sub ${SRCDIR}/distrib/miniroot/install.sub \
+ ${.CURDIR}/list ${SRCDIR}/distrib/miniroot/list \
+ ${.CURDIR}/sshd_config ${SRCDIR}/usr.bin/ssh/sshd_config \
+ ${.CURDIR}/alpha/RAMDISK_YAIFO ${SRCDIR}/sys/arch/alpha/conf/RAMDISKBIG \
+ ${.CURDIR}/amd64/RAMDISK_YAIFO ${SRCDIR}/sys/arch/amd64/conf/RAMDISK_CD \
+ ${.CURDIR}/i386/RAMDISK_YAIFO ${SRCDIR}/sys/arch/i386/conf/RAMDISK_CD \
+ ${.CURDIR}/macppc/RAMDISK_YAIFO ${SRCDIR}/sys/arch/macppc/conf/RAMDISK \
+ ${.CURDIR}/sparc/RAMDISK_YAIFO ${SRCDIR}/sys/arch/sparc/conf/RAMDISK \
+ ${.CURDIR}/sparc64/RAMDISK_YAIFO ${SRCDIR}/sys/arch/sparc64/conf/RAMDISK
 
 check-updates:
 .for yfile ofile in ${YAIFO_FILES}
@@ -273,19 +273,19 @@
         fi
 .endfor
         @yver=`awk '/# From \/usr\/src\/usr.bin\/ssh\/sshd\/Makefile / \
- { print $$4 }' ./ssh/sshd/Makefile`; \
+ { print $$4 }' ${.CURDIR}/ssh/sshd/Makefile`; \
         over=`awk '/# \\$$OpenBSD: / { print $$4 }' \
                 ${SRCDIR}/usr.bin/ssh/sshd/Makefile`; \
         if [ $$yver != $$over ]; then \
- printf "%-25s %s (%s)\\n" "./ssh/sshd/Makefile" \
+ printf "%-25s %s (%s)\\n" "${.CURDIR}/ssh/sshd/Makefile" \
                 "$$yver -> $$over" "${SRCDIR}/usr.bin/ssh/sshd/Makefile"; \
         fi
         @yver=`awk '/# From \/usr\/src\/usr.bin\/ssh\/lib\/Makefile / \
- { print $$4 }' ./ssh/sshd/Makefile`; \
+ { print $$4 }' ${.CURDIR}/ssh/sshd/Makefile`; \
         over=`awk '/# \\$$OpenBSD: / { print $$4 }' \
                 ${SRCDIR}/usr.bin/ssh/lib/Makefile`; \
         if [ $$yver != $$over ]; then \
- printf "%-25s %s (%s)\\n" "./ssh/sshd/Makefile" \
+ printf "%-25s %s (%s)\\n" "${.CURDIR}/ssh/sshd/Makefile" \
                 "$$yver -> $$over" "${SRCDIR}/usr.bin/ssh/lib/Makefile"; \
         fi
 
@@ -301,19 +301,19 @@
         fi
 .endfor
         @yver=`awk '/# From \/usr\/src\/usr.bin\/ssh\/sshd\/Makefile / \
- { print $$4 }' ./ssh/sshd/Makefile`; \
+ { print $$4 }' ${.CURDIR}/ssh/sshd/Makefile`; \
         over=`awk '/# \\$$OpenBSD: / { print $$4 }' \
                 ${SRCDIR}/usr.bin/ssh/sshd/Makefile`; \
         if [ $$yver != $$over ]; then \
- echo -n "Update ./ssh/sshd/Makefile from "; \
+ echo -n "Update ${.CURDIR}/ssh/sshd/Makefile from "; \
                 echo "${SRCDIR}/usr.bin/ssh/sshd/Makefile v$$over"; \
         fi
         @yver=`awk '/# From \/usr\/src\/usr.bin\/ssh\/lib\/Makefile / \
- { print $$4 }' ./ssh/sshd/Makefile`; \
+ { print $$4 }' ${.CURDIR}/ssh/sshd/Makefile`; \
         over=`awk '/# \\$$OpenBSD: / { print $$4 }' \
                 ${SRCDIR}/usr.bin/ssh/lib/Makefile`; \
         if [ $$yver != $$over ]; then \
- echo -n "Update ./ssh/sshd/Makefile from "; \
+ echo -n "Update ${.CURDIR}/ssh/sshd/Makefile from "; \
                 echo "${SRCDIR}/usr.bin/ssh/lib/Makefile v$$over"; \
         fi
 

--
List Info:      http://erdelynet.com/yaifo-changes-list/
List Archives:  http://erdelynet.com/archive/yaifo-changes-l/
To Unsubscribe: Mail mailto:yaifo-changes+unsubscribe@erdelynet.com
Received on Sun Mar 8 17:31:39 2009

This archive was generated by hypermail 2.1.8 : Sun Mar 08 2009 - 17:31:39 EDT