1 This patch is used to create a new sub package libpam-xtests to do more checks.
3 Upstream-Status: Pending
5 Signed-off-by: Kang Kai <kai.kang@windriver.com>
6 --- a/xtests/Makefile.am
7 +++ b/xtests/Makefile.am
8 @@ -7,7 +7,7 @@ AM_CFLAGS = -DLIBPAM_COMPILE -I$(top_src
9 LDADD = $(top_builddir)/libpam/libpam.la \
10 $(top_builddir)/libpam_misc/libpam_misc.la
12 -CLEANFILES = *~ $(XTESTS)
15 EXTRA_DIST = run-xtests.sh tst-pam_dispatch1.pamd tst-pam_dispatch2.pamd \
16 tst-pam_dispatch3.pamd tst-pam_dispatch4.pamd \
17 @@ -51,3 +51,18 @@ EXTRA_PROGRAMS = $(XTESTS)
19 xtests: $(XTESTS) run-xtests.sh
20 "$(srcdir)"/run-xtests.sh "$(srcdir)" ${XTESTS} ${NOSRCTESTS}
24 +install: install_xtests
27 + $(INSTALL) -d $(DESTDIR)$(pkgdatadir)/xtests
28 + for file in $(EXTRA_DIST) ; do \
29 + $(INSTALL) $$file $(DESTDIR)$(pkgdatadir)/xtests ; \
31 + for file in $(XTESTS); do \
32 + $(INSTALL) .libs/$$file $(DESTDIR)$(pkgdatadir)/xtests ; \
35 +.PHONY: all install_xtests