changeset 5143:3f85d4f7f7a0

* src/texinfo.mk: implement update rule
author John Donoghue
date Fri, 09 Aug 2019 11:36:40 -0400
parents c0cee43984d7
children 3ddcbf1c7a03
files src/texinfo.mk
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/texinfo.mk	Fri Aug 09 11:33:31 2019 -0400
+++ b/src/texinfo.mk	Fri Aug 09 11:36:40 2019 -0400
@@ -16,8 +16,9 @@
 endif
 
 define $(PKG)_UPDATE
-    echo 'Warning: Updates are temporarily disabled for package texinfo.' >&2;
-    echo $(texinfo_VERSION)
+    $(WGET) -q -O- 'http://ftp.gnu.org/gnu/$(PKG)/?C=M;O=D' | \
+    $(SED) -n 's,.*<a href="$(PKG)-\([0-9][^"]*\)\.tar.*,\1,p' | \
+    head -1
 endef
 
 ifeq ($(MXE_NATIVE_BUILD),yes)