commit dd5143452fa016f511bfb99301c14ac8519e0a67 from: Thomas Adam date: Tue Sep 21 20:55:42 2021 UTC dist: rework files for distcheck Rather than having a toplevel EXTRA_DIST target in the toplevel Makefile.am file, move the relevant files to their own Makefile.am locations. commit - d3f2ad5edfc8b98f7c83b5197519fe35d3e0f07e commit + dd5143452fa016f511bfb99301c14ac8519e0a67 blob - 2c07d62a4b3bb7ff78c7c7d2dd96802fbd05ae7b blob + 2d0c8de03aa5b5f6682a965c7b56b441fa8bf898 --- Makefile.am +++ Makefile.am @@ -1,13 +1,5 @@ SUBDIRS = compat libexec got tog gotadmin -EXTRA_DIST = compat/*.[ch] \ - got/*.[15] \ - lib/*.[ch] \ - include/*.[ch] \ - tog/*.[15] \ - gotadmin/*.[15] \ - libexec - AM_CPPFLAGS += -DGOT_VERSION='"@VERSION'" \ -DGOT_VERSION_NUMBER='"@VERSION"' \ -DGOT_LIBEXECDIR="${bindir}" \ blob - e17755bcd478b513376c5681575541b0fbf11f6b blob + 54524ee453c8f46d6c64e1c6ff6885acee00e0e9 --- compat/Makefile.am +++ compat/Makefile.am @@ -30,6 +30,9 @@ libopenbsd_compat_a_SOURCES = \ strsep.c \ strtonum.c \ uuid.c + imsg.h \ + queue.h \ + tree.h EXTRA_DIST = \ $(top_srcdir)/include/got_compat.h \ blob - 7909bcd4700144b4c9ad1c3b415c3d19f1c74a5d blob + a4bd81e4dfe7d4b285d43fbce53a0b7c6156b696 --- got/Makefile.am +++ got/Makefile.am @@ -43,9 +43,14 @@ got_SOURCES = got.c \ $(top_srcdir)/lib/pack_create.c \ $(top_srcdir)/lib/dial.c +EXTRA_DIST = $(top_srcdir)/compat/*.[ch] \ + $(top_srcdir)/lib/*.[ch] \ + $(top_srcdir)/include/*.[ch] \ + got.1 got.conf.5 git-repository.5 got-worktree.5 + got_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-compat.a -man1_MANS = got.1 +man1_MANS = got.1 got.conf.5 git-repository.5 got-worktree.5 AM_CPPFLAGS += -DGOT_VERSION='"@VERSION@"' \ -DGOT_VERSION_NUMBER='"@VERSION@"' \ blob - a333f45b012539849f60b8f9088ae8e50f3615b7 blob + 0cca8d79904b63b432150b621f6d24a9a06c7ee3 --- gotadmin/Makefile.am +++ gotadmin/Makefile.am @@ -28,6 +28,8 @@ gotadmin_DEPENDENCIES = $(top_builddir)/compat/libopen man1_MANS = gotadmin.1 +EXTRA_DIST = gotadmin.1 + AM_CPPFLAGS += -DGOT_VERSION='"@VERSION@"' \ -DGOT_VERSION_NUMBER='"@VERSION@"' \ -DGOT_LIBEXECDIR="${bindir}" \ blob - cde37a279ebe74b06c71e274b61b1b0c39a3a517 blob + 025806c14300b828814f70050faacfbe961dadfb --- libexec/got-read-gotconfig/Makefile.am +++ libexec/got-read-gotconfig/Makefile.am @@ -1,5 +1,7 @@ bin_PROGRAMS = got-read-gotconfig -got_read_gotconfig_SOURCES = got-read-gotconfig.c \ +got_read_gotconfig_SOURCES = \ + got-read-gotconfig.c \ + gotconfig.h \ $(top_srcdir)/lib/error.c \ $(top_srcdir)/lib/inflate.c \ $(top_srcdir)/lib/object_parse.c \ blob - c2008c8509d9681fd7b84685e0f5027c14ec80db blob + f82eee92550a4d0bab5f70c6fadbbb7d4540bb38 --- tog/Makefile.am +++ tog/Makefile.am @@ -45,6 +45,8 @@ tog_DEPENDENCIES = $(top_builddir)/compat/libopenbsd-c man1_MANS = tog.1 +EXTRA_DIST = tog.1 + AM_CPPFLAGS += -DGOT_VERSION='"@VERSION@"' \ -DGOT_VERSION_NUMBER='"@VERSION@"' \ -DGOT_LIBEXECDIR="${bindir}" \