xfs
[Top] [All Lists]

GNUmakefile patch

To: linux-xfs@xxxxxxxxxxx
Subject: GNUmakefile patch
From: Craig Rodrigues <rodrigc@xxxxxxxxxxxxxx>
Date: Wed, 23 Feb 2005 14:53:46 -0500
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
Hi,

I am trying to get xfs-cmds to build on FreeBSD.
This minor patch fixes GNUmakefile by not hardcoding
the name of the 'make' binary.


Index: GNUmakefile
===================================================================
RCS file: /cvs/xfs-cmds/GNUmakefile,v
retrieving revision 1.1
diff -u -r1.1 GNUmakefile
--- GNUmakefile 14 Jan 2005 02:47:20 -0000      1.1
+++ GNUmakefile 23 Feb 2005 19:51:51 -0000
@@ -105,11 +105,11 @@
 clean:
        rm -rf RPMS SRPMS BUILD SOURCES
        for d in $(COMMANDS); do \
-               ( cd $(XFS_CMDS_DIR)/$$d && make -i clean ) \
+               ( cd $(XFS_CMDS_DIR)/$$d && $(MAKE) -i clean ) \
        done
 
 realclean: clean
-       for d in $(COMMANDS); do ( cd $(XFS_CMDS_DIR)/$$d && make realclean ) 
done
+       for d in $(COMMANDS); do ( cd $(XFS_CMDS_DIR)/$$d && $(MAKE) realclean 
) done
 
 clean-lbs:    realclean
 

-- 
Craig Rodrigues        
rodrigc@xxxxxxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>