X-Git-Url: https://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/ebbe6c853e179221f5f9eeb9f091fcb5b6a3f260..2e4fb6a2ae0e150b59cdec2113dd39af643d32ea:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 2b9c072..63b5927 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,20 +1,38 @@ -# Copyright (C) 2009 Nick Bowler -# Copying and distribution of this file, with or without modification, -# are permitted in any medium without royalty provided the copyright -# notice and this notice are preserved. This file is offered as-is, -# without any warranty. +# Copyright © 2009 Nick Bowler +# +# License WTFPL2: Do What The Fuck You Want To Public License, version 2. +# 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 +CLEANFILES = +MOSTLYCLEANFILES = +include_HEADERS = +lib_LTLIBRARIES = +noinst_LTLIBRARIES = +EXTRA_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 +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 if BUNDLED_LIBLTDL -SUBDIRS += libltdl +include $(top_srcdir)/libltdl/ltdl.mk endif - -SUBDIRS += src