From: Akshay Lal Date: Fri, 1 Jul 2011 20:52:43 +0000 (-0700) Subject: Fix the ltp Makefile to allow for installation of all non-c (scripts) files X-Git-Tag: v1.1.0~45 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=dbbad331d3acddc438a661f193d1d7a5284aaff0 Fix the ltp Makefile to allow for installation of all non-c (scripts) files Current the Makefile only builds the .c files and installs them in the $INSTALL path. However, the ltp directory contains a shell script, which doen't get copied over (installed) when a "make install"is invoked. This behaviour causes test 080 to fail since it requires rwtest.sh to be present in the ltp/ directory. Tested: Updated the Makefile and ran a static build script & test 080. Signed-off-by: Akshay Lal Signed-off-by: Christoph Hellwig --- diff --git a/ltp/Makefile b/ltp/Makefile index 32cd380d..d47247bc 100644 --- a/ltp/Makefile +++ b/ltp/Makefile @@ -6,6 +6,7 @@ TOPDIR = .. include $(TOPDIR)/include/builddefs TARGETS = doio fsstress fsx growfiles iogen +SCRIPTS = rwtest.sh CFILES = $(TARGETS:=.c) HFILES = doio.h LDIRT = $(TARGETS) @@ -44,5 +45,6 @@ $(TARGETS): $(LIBTEST) install: default $(INSTALL) -m 755 -d $(PKG_LIB_DIR)/ltp $(INSTALL) -m 755 $(TARGETS) $(PKG_LIB_DIR)/ltp + $(INSTALL) -m 755 $(SCRIPTS) $(PKG_LIB_DIR)/ltp -include .dep