diff options
Diffstat (limited to 'meta/recipes-extended/pam/libpam/libpam-xtests.patch')
-rw-r--r-- | meta/recipes-extended/pam/libpam/libpam-xtests.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/meta/recipes-extended/pam/libpam/libpam-xtests.patch b/meta/recipes-extended/pam/libpam/libpam-xtests.patch deleted file mode 100644 index f2dafa72a5..0000000000 --- a/meta/recipes-extended/pam/libpam/libpam-xtests.patch +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | From 060726f7e60c8ecb5bf50fd776910b290d9a0a69 Mon Sep 17 00:00:00 2001 | ||
2 | From: Kang Kai <kai.kang@windriver.com> | ||
3 | Date: Tue, 19 Jul 2011 17:08:31 +0800 | ||
4 | Subject: [PATCH] This patch is used to create a new sub package libpam-xtests | ||
5 | to do more checks. | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | |||
9 | Signed-off-by: Kang Kai <kai.kang@windriver.com> | ||
10 | --- | ||
11 | xtests/Makefile.am | 17 ++++++++++++++++- | ||
12 | 1 file changed, 16 insertions(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/xtests/Makefile.am b/xtests/Makefile.am | ||
15 | index acf9746..9826c9f 100644 | ||
16 | --- a/xtests/Makefile.am | ||
17 | +++ b/xtests/Makefile.am | ||
18 | @@ -8,7 +8,7 @@ AM_CFLAGS = -DLIBPAM_COMPILE -I$(top_srcdir)/libpam/include \ | ||
19 | LDADD = $(top_builddir)/libpam/libpam.la \ | ||
20 | $(top_builddir)/libpam_misc/libpam_misc.la | ||
21 | |||
22 | -CLEANFILES = *~ $(XTESTS) | ||
23 | +CLEANFILES = *~ | ||
24 | |||
25 | EXTRA_DIST = run-xtests.sh tst-pam_dispatch1.pamd tst-pam_dispatch2.pamd \ | ||
26 | tst-pam_dispatch3.pamd tst-pam_dispatch4.pamd \ | ||
27 | @@ -55,3 +55,18 @@ EXTRA_PROGRAMS = $(XTESTS) | ||
28 | |||
29 | xtests: $(XTESTS) run-xtests.sh | ||
30 | "$(srcdir)"/run-xtests.sh "$(srcdir)" ${XTESTS} ${NOSRCTESTS} | ||
31 | + | ||
32 | +all: $(XTESTS) | ||
33 | + | ||
34 | +install: install_xtests | ||
35 | + | ||
36 | +install_xtests: | ||
37 | + $(INSTALL) -d $(DESTDIR)$(pkgdatadir)/xtests | ||
38 | + for file in $(EXTRA_DIST) ; do \ | ||
39 | + $(INSTALL) $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/xtests ; \ | ||
40 | + done | ||
41 | + for file in $(XTESTS); do \ | ||
42 | + $(INSTALL) .libs/$$file $(DESTDIR)$(pkgdatadir)/xtests ; \ | ||
43 | + done | ||
44 | + | ||
45 | +.PHONY: all install_xtests | ||