[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gsrc-commit] trunk r7505: update gnulib to 20210418
From: |
Carl Hansen |
Subject: |
[Gsrc-commit] trunk r7505: update gnulib to 20210418 |
Date: |
Sun, 18 Apr 2021 19:24:34 -0400 (EDT) |
User-agent: |
Bazaar (2.7.0dev1) |
------------------------------------------------------------
revno: 7505
revision-id: carlhansen@gnu.org-20210418232429-mh7uitlh6h7j0y13
parent: carlhansen@gnu.org-20210418232350-atfru8j7bl44jfeh
committer: Carl Hansen <carlhansen@gnu.org>
branch nick: trunk
timestamp: Sun 2021-04-18 16:24:29 -0700
message:
update gnulib to 20210418
added:
pkg/gnu/gnulib/config.mk config.mk-20210418160901-21jzytrxnds1nq8t-1
modified:
pkg/gnu/gnulib/Makefile makefile-20160617014725-uokjfnggs70iry9h-828
=== modified file 'pkg/gnu/gnulib/Makefile'
--- a/pkg/gnu/gnulib/Makefile 2020-01-17 21:53:57 +0000
+++ b/pkg/gnu/gnulib/Makefile 2021-04-18 23:24:29 +0000
@@ -1,4 +1,4 @@
-# Copyright © 2016,2020 Carl Hansen <carlhansen@gnu.org>
+# Copyright © 2016,2020,2021 Carl Hansen <carlhansen@gnu.org>
#
# This file is part of GSRC, the GNU Source Release Collection.
# http://www.gnu.org/software/gsrc
@@ -21,9 +21,9 @@
NAME = gnulib
GARNAME = gnulib
-GARVERSION = 20200115
+GARVERSION = 20210418
HOME_URL = http://www.gnu.org/software/gnulib/
-DESCRIPTION = Source files to share among distributions
+DESCRIPTION = Source files to share among other software projects
define BLURB
Gnulib is a central location for common infrastructure needed by
GNU packages. It provides a wide variety of functionality, e.g.,
@@ -36,43 +36,45 @@
files, for convenience.
endef
-# put or link the "gnulib-tool" into your PATH as you wish.
-# gnulib.info to infopath...
-#
-######################################################################
-
-#MASTER_SITES = savannah.gnu.org
-#MASTER_SUBDIR = $(GARNAME)/
-#DISTFILES = $(DISTNAME).tar.gz
-#SIGFILES = $(DISTNAME).tar.gz.sig
-
-#BUILDDEPS =
-#LIBDEPS =
-
-######################################################################
+######################################################################
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS = gl
+INSTALL_SCRIPTS = gl
+
+BUILDDEPS =
+LIBDEPS =
+
+######################################################################
+# HINT: set GNULIBDIR= to the work/gnulib in your .bashrc
include ../../../gar/gar.mk
-
-# gnulib does not use normal installation; it is not a normal package.
-#
-# make getit
-# then, cd ./gnulib; git pull once in a while to update
-
-
-
-getit:
- git clone git://git.savannah.gnu.org/gnulib.git
- make -C ./gnulib/doc
- ln -s `realpath ./gnulib/doc/gnulib.info` $(prefix)/share/info/
- ln -s `realpath ./gnulib/gnulib-tool` $(prefix)/bin
- echo local copy is here, gnulib-tool and gnulib.info are only
installations
-
+include config.mk
+# no download directory
+
+.PHONY: fetch-gl gitpull makedoc
+#todo if dir exists.
gitpull:
- (cd gnulib; git pull)
-
-redodoc:
- make -C ./gnulib/doc
+ (cd $(WORKDIR)/$(GARNAME) && git pull)
+
+
+fetch-gl::
+ if [ -d work/$(GARNAME)/.git ]; then $(MAKE) gitpull ; else \
+ (cd $(WORKDIR) && git clone
https://git.savannah.gnu.org/git/$(GARNAME).git) fi
+ $(MAKECOOKIE)
+
+makedoc: fetch-gl
+ cd $(WORKDIR) && make -C ./gnulib/doc
+
+build-gl: fetch-gl
+ $(MAKE) gitpull
+ $(MAKE) makedoc
+ $(MAKECOOKIE)
+
+
+install-gl:
+ $(INSTALL_INFO) $(WORKDIR)/gnulib/doc/gnulib.info
=== added file 'pkg/gnu/gnulib/config.mk'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gsrc-commit] trunk r7505: update gnulib to 20210418,
Carl Hansen <=