]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Don't list libtest.la headers in HEADERS variable
authorOndřej Surý <ondrej@isc.org>
Wed, 1 Jun 2022 07:02:10 +0000 (09:02 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 1 Jun 2022 15:45:34 +0000 (17:45 +0200)
The libtest.la headers were installed in very weird place, in fact, we
don't need to list them in the HEADERS variable, listing them in SOURCES
is enough for autotools to figure out how to compile the convenience
library.

(cherry picked from commit 714fe2f6173f57cdb45449e8816facf8ea8f868d)

tests/libtest/Makefile.am

index 2699f4bfcff78aee7f0496ce4321ea61bc051514..6bd4b80340793a2e0792340ad438d6d349bdc6e4 100644 (file)
@@ -14,13 +14,10 @@ LDADD +=                    \
 
 check_LTLIBRARIES = libtest.la
 
-noinst_libtest_ladir = ..
-noinst_libtest_la_HEADERS =            \
+libtest_la_SOURCES =                   \
        ../include/tests/dns.h          \
        ../include/tests/isc.h          \
-       ../include/tests/ns.h
-libtest_la_SOURCES =                   \
-       $(noinst_libtest_la_HEADERS)    \
+       ../include/tests/ns.h           \
        dns.c                           \
        isc.c                           \
        ns.c