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