X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/3e740e95c0f5988019092303d650cce4bae290f0..d2aa316f6b44d403eec7d010a55ac824fd83662b:/Makefile.am diff --git a/Makefile.am b/Makefile.am index f5c126c..8f5aac9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,17 +4,35 @@ # This is free software: you are free to do what the fuck you want to. # There is NO WARRANTY, to the extent permitted by law. +AUTOMAKE_OPTIONS = parallel-tests color-tests ACLOCAL_AMFLAGS = -I m4 +MOSTLYCLEANFILES = +noinst_LTLIBRARIES = + +AM_CPPFLAGS = -I$(top_srcdir)/src + EXTRA_DIST = m4/gnulib-cache.m4 dist_man_MANS = doc/man/upkg.1 -DIST_SUBDIRS = libltdl lib src -SUBDIRS = lib +DIST_SUBDIRS = libltdl src +SUBDIRS = . if BUNDLED_LIBLTDL SUBDIRS += libltdl endif SUBDIRS += src + +check_PROGRAMS = test/decodeindex +test_decodeindex_LDADD = src/libupkg.la libgnu.la + +TESTS_ENVIRONMENT = SHELL='$(SHELL)' EXEEXT='$(EXEEXT)' +TEST_EXTENSIONS = .sh +SH_LOG_COMPILER = $(SHELL) + +TESTS = tests/libupkg-index-decode.sh +EXTRA_DIST += $(TESTS) + +include $(top_srcdir)/lib/gnulib.mk