summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2005-07-29 21:45:46 +0000
committernetchild <netchild@FreeBSD.org>2005-07-29 21:45:46 +0000
commit3ca6ec249e9e773dbe91afe3cc9bf0eb941517fa (patch)
tree408990cf48c97b90b7224e127900945207bd647c /Makefile.inc1
parent46ccea61c3ad6a4579fd2a92965c2cf31f63431c (diff)
downloadFreeBSD-src-3ca6ec249e9e773dbe91afe3cc9bf0eb941517fa.zip
FreeBSD-src-3ca6ec249e9e773dbe91afe3cc9bf0eb941517fa.tar.gz
- Move recently added dir into the correct section.
- Add a note about the organisation of the sections. - Expand shell globs (they worked in a previous version of the delete-old target, but not in this one). - Use the correct way of checking for a native environment. [1] - Add some more obsolete files. - Fix some bad english. [1] Suggested by: ru [1] Approved by: mentor (joerg)
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc112
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 08130a4..ff253dd 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1067,7 +1067,7 @@ RM_I=-i
.endif
delete-old-files:
-.if defined(${TARGET_ARCH})
+.if ${TARGET_ARCH} != ${MACHINE_ARCH}
.error "You have to run this in a native environment!"
.endif
@echo ">>> Removing old files (only deletes safe to delete libs)"
@@ -1083,7 +1083,7 @@ delete-old-files:
@echo ">>> Old files removed"
check-old-files:
-.if defined(${TARGET_ARCH})
+.if ${TARGET_ARCH} != ${MACHINE_ARCH}
.error "You have to run this in a native environment!"
.endif
@echo ">>> Checking for old files"
@@ -1092,7 +1092,7 @@ check-old-files:
.endfor
delete-old-libs:
-.if defined(${TARGET_ARCH})
+.if ${TARGET_ARCH} != ${MACHINE_ARCH}
.error "You have to run this in a native environment!"
.endif
@echo ">>> Removing old libraries"
@@ -1107,7 +1107,7 @@ delete-old-libs:
@echo ">>> Old libraries removed"
check-old-libs:
-.if defined(${TARGET_ARCH})
+.if ${TARGET_ARCH} != ${MACHINE_ARCH}
.error "You have to run this in a native environment!"
.endif
@echo ">>> Checking for old libraries"
@@ -1116,7 +1116,7 @@ check-old-libs:
.endfor
delete-old-dirs:
-.if defined(${TARGET_ARCH})
+.if ${TARGET_ARCH} != ${MACHINE_ARCH}
.error "You have to run this in a native environment!"
.endif
@echo ">>> Removing old directories"
@@ -1127,7 +1127,7 @@ delete-old-dirs:
@echo ">>> Old directories removed"
check-old-dirs:
-.if defined(${TARGET_ARCH})
+.if ${TARGET_ARCH} != ${MACHINE_ARCH}
.error "You have to run this in a native environment!"
.endif
@echo ">>> Checking for old directories"
OpenPOWER on IntegriCloud