Create xfstests install target.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Eric Sandeen
2009-01-02 22:28:37 -06:00
parent 8d7ac89a2d
commit 8c5325e126
4 changed files with 30 additions and 1 deletions
+15 -1
View File
@@ -62,7 +62,21 @@ $(DMAPI_MAKEFILE):
aclocal.m4::
aclocal --acdir=`pwd`/m4 --output=$@
install install-dev install-lib:
install: default $(addsuffix -install,$(SUBDIRS))
$(INSTALL) -m 755 -d $(PKG_LIB_DIR)
$(INSTALL) -m 755 check $(PKG_LIB_DIR)
$(INSTALL) -m 755 [0-9]?? $(PKG_LIB_DIR)
$(INSTALL) -m 755 run.* $(PKG_LIB_DIR)
$(INSTALL) -m 644 group $(PKG_LIB_DIR)
$(INSTALL) -m 644 randomize.awk $(PKG_LIB_DIR)
$(INSTALL) -m 644 [0-9]??.* $(PKG_LIB_DIR)
$(INSTALL) -m 644 common* $(PKG_LIB_DIR)
# Nothing.
install-dev install-lib:
%-install:
$(MAKE) -C $* install
realclean distclean: clean
rm -f $(LDIRT) $(CONFIGURE)
+4
View File
@@ -27,6 +27,10 @@ PKG_RELEASE = @pkg_release@
PKG_VERSION = @pkg_version@
PKG_PLATFORM = @pkg_platform@
PKG_DISTRIBUTION= @pkg_distribution@
PKG_SBIN_DIR = @sbindir@
# A bit of a hack; by rights only state should probably go here
# But for now ...
PKG_LIB_DIR = /var/lib/@pkg_name@
CC = @cc@
AWK = @awk@
+5
View File
@@ -49,3 +49,8 @@ ifeq ($(HAVE_AIO), true)
aio-stress: aio-stress.c
$(LINKTEST) $(LIBAIO) $(LDLIBS)
endif
install:
$(INSTALL) -m 755 -d $(PKG_LIB_DIR)/ltp
$(INSTALL) -m 755 $(TARGETS) $(PKG_LIB_DIR)/ltp
+6
View File
@@ -126,3 +126,9 @@ open_unlink: open_unlink.o $(LIBHANDLE)
$(LINKTEST) $(LIBHANDLE) $(LDLIBS)
endif
install:
$(INSTALL) -m 755 -d $(PKG_LIB_DIR)/src
$(INSTALL) -m 755 $(TARGETS) $(PKG_LIB_DIR)/src
$(INSTALL) -m 755 fill2attr fill2fs fill2fs_check scaleread.sh $(PKG_LIB_DIR)/src
$(INSTALL) -m 644 dumpfile $(PKG_LIB_DIR)/src