[PATCH] fix up xfs-cmds build after the parallel-fest

Eric Sandeen
2008-12-05T17:30:25Z

My big parallel build patch lost the "make configure" target.
This broke Makepkgs...

Now, IMHO, running configure from make is a little bass-ackwards;
I'd probably prefer to have Makepkgs explicitly run:

autoconf; configure --myoptions; make

but for now, this adds back in a workable "make configure" target.

Also fixed "make install-lib" for acl, which was failing
in the man subdir.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Index: xfs-cmds/acl/Makefile
===================================================================
--- xfs-cmds.orig/acl/Makefile 2008-12-05 10:42:40.000000000 -0600
+++ xfs-cmds/acl/Makefile 2008-12-05 10:46:04.977513746 -0600
@@ -38,7 +38,7 @@ else
clean: # if configure hasn't run, nothing to clean
endif

-include/builddefs:
+configure include/builddefs:
autoconf
./configure \
--prefix=/ \
Index: xfs-cmds/acl/man/Makefile
===================================================================
--- xfs-cmds.orig/acl/man/Makefile 2008-12-05 10:42:40.000000000 -0600
+++ xfs-cmds/acl/man/Makefile 2008-12-05 10:48:20.842513303 -0600
@@ -13,10 +13,15 @@ install : $(addsuffix -install,$(SUBDIRS

install-dev : $(addsuffix -install-dev,$(SUBDIRS))

+install-lib: $(addsuffix -install-lib,$(SUBDIRS))
+
%-install:
$(MAKE) -C $* install

%-install-dev:
$(MAKE) -C $* install-dev

+%-install-lib:
+ $(MAKE) -C $* install-lib
+
include $(BUILDRULES)
Index: xfs-cmds/dmapi/Makefile
===================================================================
--- xfs-cmds.orig/dmapi/Makefile 2008-12-05 10:42:40.000000000 -0600
+++ xfs-cmds/dmapi/Makefile 2008-12-05 11:07:59.130513205 -0600
@@ -36,7 +36,7 @@ else
clean: # if configure hasn't run, nothing to clean
endif

-include/builddefs:
+configure include/builddefs:
autoconf
./configure \
--prefix=/ \
Index: xfs-cmds/xfsprogs/Makefile
===================================================================
--- xfs-cmds.orig/xfsprogs/Makefile 2008-12-05 11:08:55.000000000 -0600
+++ xfs-cmds/xfsprogs/Makefile 2008-12-05 11:09:03.698512814 -0600
@@ -44,7 +44,7 @@ else
clean: # if configure hasn't run, nothing to clean
endif

-include/builddefs:
+configure include/builddefs:
autoconf
./configure \
--prefix=/ \
Index: xfs-cmds/xfsdump/Makefile
===================================================================
--- xfs-cmds.orig/xfsdump/Makefile 2008-12-05 10:42:40.000000000 -0600
+++ xfs-cmds/xfsdump/Makefile 2008-12-05 11:12:26.074512652 -0600
@@ -37,7 +37,7 @@ else
clean: # if configure hasn't run, nothing to clean
endif

-include/builddefs:
+configure include/builddefs:
autoconf
./configure \
--prefix=/ \
Index: xfs-cmds/nfs4acl/Makefile
===================================================================
--- xfs-cmds.orig/nfs4acl/Makefile 2008-12-05 10:42:40.000000000 -0600
+++ xfs-cmds/nfs4acl/Makefile 2008-12-05 11:27:54.454512630 -0600
@@ -39,7 +39,7 @@ else
clean: # if configure hasn't run, nothing to clean
endif

-include/builddefs:
+configure include/builddefs:
autoconf
./configure \
--prefix=/ \
Index: xfs-cmds/xfstests/Makefile
===================================================================
--- xfs-cmds.orig/xfstests/Makefile 2008-12-05 10:42:40.000000000 -0600
+++ xfs-cmds/xfstests/Makefile 2008-12-05 11:27:59.947513229 -0600
@@ -42,7 +42,7 @@ else
clean: # if configure hasn't run, nothing to clean
endif

-include/builddefs:
+configure include/builddefs:
autoheader