Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 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. |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 6 | |
| 7 | Upstream-Status: Pending |
| 8 | |
| 9 | Signed-off-by: Kang Kai <kai.kang@windriver.com> |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 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 \ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 19 | LDADD = $(top_builddir)/libpam/libpam.la \ |
| 20 | $(top_builddir)/libpam_misc/libpam_misc.la |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 \ |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 27 | @@ -55,3 +55,18 @@ EXTRA_PROGRAMS = $(XTESTS) |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 39 | + $(INSTALL) $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/xtests ; \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 40 | + done |
| 41 | + for file in $(XTESTS); do \ |
| 42 | + $(INSTALL) .libs/$$file $(DESTDIR)$(pkgdatadir)/xtests ; \ |
| 43 | + done |
| 44 | + |
| 45 | +.PHONY: all install_xtests |