mirror of
https://github.com/deadw00d/AROS.git
synced 2026-01-12 08:35:21 +00:00
Fixed a problem with creating empty mf.inc files in $(GENDIR)
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@3948 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
This commit is contained in:
@ -1,9 +1,17 @@
|
||||
# Copyright (C) 1995-1998 AROS
|
||||
# $Id$
|
||||
#
|
||||
# Desc: Create mf.inc files from the %add_objects,%exclude_files stuff
|
||||
#
|
||||
BEGIN {
|
||||
lastdir = "";
|
||||
}
|
||||
{
|
||||
match($2,/(.*\/)+/);
|
||||
funct = substr($2,RLENGTH + 1);
|
||||
path = substr($2,1,RLENGTH);
|
||||
|
||||
if(path != lastdir)
|
||||
if((path != lastdir) && (lastdir != ""))
|
||||
{
|
||||
file = GENDIR "/" lastdir "mf.inc";
|
||||
printf "SUPPRESS_FILES = %s\n", suppress > file;
|
||||
|
||||
Reference in New Issue
Block a user