From 4f5d16c7d3df8182835e8a079631408f261649a3 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Tue, 4 Jan 1994 21:18:15 +0000 Subject: [PATCH] fix the .Sanitize --- gas/.Sanitize | 11 ++++++++--- gas/config/.Sanitize | 10 +++++----- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/gas/.Sanitize b/gas/.Sanitize index 86d1a71..0146e18 100644 --- a/gas/.Sanitize +++ b/gas/.Sanitize @@ -1,7 +1,6 @@ -# Sanitize.in for devo. -# +# .Sanitize for devo/gas -# Each directory to survive it's way into a release will need a file +# Each directory to survive its way into a release will need a file # like this one called "./.Sanitize". All keyword lines must exist, # and must exist in the order specified by this file. Each directory # in the tree will be processed, top down, in the following order. @@ -16,6 +15,12 @@ Do-first: +if ( echo $* | grep keep\-mpw > /dev/null ) ; then + keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw" + if ( echo $* | grep keep\-gm > /dev/null ) ; then + keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}" + fi +fi # All files listed between the "Things-to-keep:" line and the # "Files-to-sed:" line will be kept. All other files will be removed. diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize index f378c524..e502330 100644 --- a/gas/config/.Sanitize +++ b/gas/config/.Sanitize @@ -1,8 +1,6 @@ -# Sanitize.in for devo. -# $Id$ -# +# .Sanitize for devo/gas/config -# Each directory to survive it's way into a release will need a file +# Each directory to survive its way into a release will need a file # like this one called "./.Sanitize". All keyword lines must exist, # and must exist in the order specified by this file. Each directory # in the tree will be processed, top down, in the following order. @@ -17,7 +15,9 @@ Do-first: - +if ( echo $* | grep keep\-mpw > /dev/null ) ; then + keep_these_too="ho-mpw.h" +fi # All files listed between the "Things-to-keep:" line and the # "Files-to-sed:" line will be kept. All other files will be removed. -- 2.7.4