make dist fixes

This commit is contained in:
Evgeny Grin (Karlson2k)
2024-08-22 16:54:28 +02:00
parent b7e51b5800
commit 2ce751b4b6
2 changed files with 11 additions and 2 deletions
+2 -2
View File
@@ -192,8 +192,8 @@ dist-po: po/Makefile $(PO_MAIN_FILES)
$(am__cd) po && $(MAKE) $(AM_MAKEFLAGS) distdir="$$rel_distsubdir" distdir
$(srcdir_po)/POTFILES.in: $(top_srcdir)/src/microhttpd/Makefile.am
@echo "cd $(top_builddir)/src/microhttpd && $(MAKE) $(AM_MAKEFLAGS) update-po-POTFILES.in" && \
$(am__cd) '$(top_builddir)/src/microhttpd' && $(MAKE) $(AM_MAKEFLAGS) update-po-POTFILES.in
@echo "cd $(top_builddir)/src/mhd2 && $(MAKE) $(AM_MAKEFLAGS) update-po-POTFILES.in" && \
$(am__cd) '$(top_builddir)/src/mhd2' && $(MAKE) $(AM_MAKEFLAGS) update-po-POTFILES.in
AUTOPOINT = autopoint
AUTOPOINT_FLAGS =
+9
View File
@@ -176,3 +176,12 @@ $(CONFIG_HEADER): $(builddir)/../incl_priv/mhd_config.h.in $(top_srcdir)/configu
$(builddir)/../incl_priv/mhd_config.h.in: $(top_srcdir)/configure.ac
@echo "cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh" && \
$(am__cd) $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
update-po-POTFILES.in: $(top_srcdir)/po/POTFILES.in
$(top_srcdir)/po/POTFILES.in: $(srcdir)/Makefile.am
@echo "Creating $@"
@echo src/include/microhttpd2.h > "$@" && \
for src in $(am__libmicrohttpd2_la_SOURCES_DIST) ; do \
echo "$(subdir)/$$src" >> "$@" ; \
done