Files
extra/yash/remove-mofiles.patch
2025-06-22 20:39:04 -05:00

84 lines
3.5 KiB
Diff

--- a/Makefile.in 2021-10-11 15:58:11.000000000 +0200
+++ b/Makefile.in 2024-04-23 23:36:34.920120424 +0200
@@ -63,7 +63,7 @@
default_loadpath = @default_loadpath@
enable_nls = @enable_nls@
-all: $(TARGET) share/config tester mofiles docs
+all: $(TARGET) share/config tester docs
.c.o:
@rm -f $@
@@ -137,14 +137,12 @@
echo $(INSTALL_DATA) share/$$file $(DESTDIR)$(yashdatadir)/$$file || true; \
$(INSTALL_DATA) share/$$file $(DESTDIR)$(yashdatadir)/$$file; \
done
- @+if $(enable_nls); then (cd po && $(MAKE) $@); fi
@+(cd doc && $(MAKE) install-rec)
install-html:
@+(cd doc && $(MAKE) $@-rec)
installdirs: installdirs-binary installdirs-data
installdirs-binary: $(INSTALLBINDIRS)
installdirs-data: installdirs-data-main
- @+if $(enable_nls); then (cd po && $(MAKE) $@); fi
@+(cd doc && $(MAKE) installdirs-rec)
installdirs-data-main: $(INSTALLDATADIRS)
installdirs-html: $(DESTDIR)$(htmldir)
@@ -162,7 +160,6 @@
-rmdir $(DESTDIR)$(yashdatadir)/completion
-rmdir $(DESTDIR)$(yashdatadir)/initialization
-rmdir $(DESTDIR)$(yashdatadir)
- @+if $(enable_nls); then (cd po && $(MAKE) $@); fi
@+(cd doc && $(MAKE) $@-rec)
DISTDIR = $(TARGET)-$(VERSION)
@@ -171,7 +168,6 @@
DIST_TARGETS = dist-gzip dist-xz
RM_DISTDIR = rm -rf $(DISTDIR) $(DISTDIR).tar
$(DISTDIR): _PHONY
- @+(cd po && $(MAKE) update-po) # must be done first
rm -fr $@
mkdir -m 755 $@
@+umask 022; \
@@ -266,7 +262,6 @@
-@+(cd builtins && $(MAKE) mostlyclean)
-@+(cd doc && $(MAKE) mostlyclean)
-@+(cd lineedit && $(MAKE) mostlyclean)
- -@+(cd po && $(MAKE) mostlyclean)
-@+(cd tests && $(MAKE) mostlyclean)
_mostlyclean:
-rm -rf $(OBJS) $(BYPRODUCTS) $(DISTDIR)
@@ -274,7 +269,6 @@
-@+(cd builtins && $(MAKE) clean)
-@+(cd doc && $(MAKE) clean)
-@+(cd lineedit && $(MAKE) clean)
- -@+(cd po && $(MAKE) clean)
-@+(cd tests && $(MAKE) clean)
_clean: _mostlyclean
-rm -rf $(TARGET) share/config $(DISTS)
@@ -282,7 +276,6 @@
-@+(cd builtins && $(MAKE) distclean)
-@+(cd doc && $(MAKE) distclean)
-@+(cd lineedit && $(MAKE) distclean)
- -@+(cd po && $(MAKE) distclean)
-@+(cd tests && $(MAKE) distclean)
-@+$(MAKE) _distclean
_distclean: _clean
@@ -293,7 +286,6 @@
-@+(cd builtins && $(MAKE) maintainer-clean)
-@+(cd doc && $(MAKE) maintainer-clean)
-@+(cd lineedit && $(MAKE) maintainer-clean)
- -@+(cd po && $(MAKE) maintainer-clean)
-@+(cd tests && $(MAKE) maintainer-clean)
-@+$(MAKE) _distclean
-rm -rf $(SOURCES:.c=.d)
@@ -305,7 +297,7 @@
config.status: configure
$(SHELL) config.status --recheck
-.PHONY: all test tests check tester mofiles docs man html install install-strip install-binary install-binary-strip install-data install-html installdirs installdirs-binary installdirs-data installdirs-data-main installdirs-html uninstall uninstall-binary uninstall-data dist dist-tarZ dist-gzip dist-bzip2 dist-xz dist-zstd dist-shar dist-zip dist-all distcheck distfiles copy-distfiles makedeps cscope mostlyclean _mostlyclean clean _clean distclean _distclean maintainer-clean
+.PHONY: all test tests check tester docs man html install install-strip install-binary install-binary-strip install-data install-html installdirs installdirs-binary installdirs-data installdirs-data-main installdirs-html uninstall uninstall-binary uninstall-data dist dist-tarZ dist-gzip dist-bzip2 dist-xz dist-zstd dist-shar dist-zip dist-all distcheck distfiles copy-distfiles makedeps cscope mostlyclean _mostlyclean clean _clean distclean _distclean maintainer-clean
_PHONY:
@MAKE_INCLUDE@ alias.d