You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1009 B

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