mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
c11f334af5
(From OE-Core rev: 2a194d5dd1d82f233fa28a44412aea1ba4ccd434) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
46 lines
1.4 KiB
Diff
46 lines
1.4 KiB
Diff
From 060726f7e60c8ecb5bf50fd776910b290d9a0a69 Mon Sep 17 00:00:00 2001
|
|
From: Kang Kai <kai.kang@windriver.com>
|
|
Date: Tue, 19 Jul 2011 17:08:31 +0800
|
|
Subject: [PATCH] This patch is used to create a new sub package libpam-xtests
|
|
to do more checks.
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Kang Kai <kai.kang@windriver.com>
|
|
---
|
|
xtests/Makefile.am | 17 ++++++++++++++++-
|
|
1 file changed, 16 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/xtests/Makefile.am b/xtests/Makefile.am
|
|
index acf9746..9826c9f 100644
|
|
--- a/xtests/Makefile.am
|
|
+++ b/xtests/Makefile.am
|
|
@@ -8,7 +8,7 @@ AM_CFLAGS = -DLIBPAM_COMPILE -I$(top_srcdir)/libpam/include \
|
|
LDADD = $(top_builddir)/libpam/libpam.la \
|
|
$(top_builddir)/libpam_misc/libpam_misc.la
|
|
|
|
-CLEANFILES = *~ $(XTESTS)
|
|
+CLEANFILES = *~
|
|
|
|
EXTRA_DIST = run-xtests.sh tst-pam_dispatch1.pamd tst-pam_dispatch2.pamd \
|
|
tst-pam_dispatch3.pamd tst-pam_dispatch4.pamd \
|
|
@@ -55,3 +55,18 @@ EXTRA_PROGRAMS = $(XTESTS)
|
|
|
|
xtests: $(XTESTS) run-xtests.sh
|
|
"$(srcdir)"/run-xtests.sh "$(srcdir)" ${XTESTS} ${NOSRCTESTS}
|
|
+
|
|
+all: $(XTESTS)
|
|
+
|
|
+install: install_xtests
|
|
+
|
|
+install_xtests:
|
|
+ $(INSTALL) -d $(DESTDIR)$(pkgdatadir)/xtests
|
|
+ for file in $(EXTRA_DIST) ; do \
|
|
+ $(INSTALL) $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/xtests ; \
|
|
+ done
|
|
+ for file in $(XTESTS); do \
|
|
+ $(INSTALL) .libs/$$file $(DESTDIR)$(pkgdatadir)/xtests ; \
|
|
+ done
|
|
+
|
|
+.PHONY: all install_xtests
|