gsrc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gsrc-commit] trunk r7504: update config to 2021


From: Carl Hansen
Subject: [Gsrc-commit] trunk r7504: update config to 2021
Date: Sun, 18 Apr 2021 19:23:55 -0400 (EDT)
User-agent: Bazaar (2.7.0dev1)

------------------------------------------------------------
revno: 7504
revision-id: carlhansen@gnu.org-20210418232350-atfru8j7bl44jfeh
parent: carlhansen@gnu.org-20210418175126-xszqwrxvyp4iq7bg
committer: Carl Hansen <carlhansen@gnu.org>
branch nick: trunk
timestamp: Sun 2021-04-18 16:23:50 -0700
message:
  update config to 2021
modified:
  pkg/gnu/config/Makefile        makefile-20170430231231-0lbw966hs16oxlmd-2
=== modified file 'pkg/gnu/config/Makefile'
--- a/pkg/gnu/config/Makefile   2021-04-18 06:53:39 +0000
+++ b/pkg/gnu/config/Makefile   2021-04-18 23:23:50 +0000
@@ -21,7 +21,7 @@
 
 NAME = config
 GARNAME = config
-GARVERSION = $(strip 2021  )
+GARVERSION = $(strip 2021 )
 HOME_URL = http://www.gnu.org/software/config/
 DESCRIPTION =  config.guess and config.sub scripts
 define BLURB
@@ -31,11 +31,10 @@
 
 ######################################################################
 #https://git.savannah.gnu.org/git/config.git
-MASTER_SITES =  git://git.savannah.gnu.org/
+MASTER_SITES =  https://git.savannah.gnu.org/
 MASTER_SUBDIR =  ""
 
-GIT_PATH = $(MASTER_SITES)$(MASTER_SUBDIR)$(GARNAME).git
-DISTNAME = $(GARNAME)-$(GARVERSION)
+#GIT_PATH = $(MASTER_SITES)$(MASTER_SUBDIR)$(GARNAME).git
 NOCHECKSUM = $(DISTFILES)
 SIGFILES =
 
@@ -44,7 +43,7 @@
 BUILDDEPS =
 LIBDEPS =
 
-FETCH_SCRIPTS = my
+#FETCH_SCRIPTS = my
 CONFIGURE_SCRIPTS = 
 BUILD_SCRIPTS = my
 INSTALL_SCRIPTS = my
@@ -56,15 +55,25 @@
 include ../../../gar/gar.mk
 include config.mk
 # no download directory
-#
+
+.PHONY: check gitpull fetch
+
+gitpull:
+       (cd $(WORKDIR)/$(GARNAME); git pull)
+
 fetch-my:  
-       rm -rf $(WORKDIR)/config
-       cd $(WORKDIR) && git clone https://git.savannah.gnu.org/git/config.git
-       @echo gitted
+       if [ -d work/$(GARNAME)/.git ]; then    $(MAKE) gitpull ;  else  \
+         (cd $(WORKDIR) &&  git clone 
https://git.savannah.gnu.org/git/$(GARNAME).git)  fi 
+       $(MAKECOOKIE)
  
-#FIXME 
-
-build-my:   gitpull check
+# needs help2man  for doc
+check:
+       make -C $(WORKDIR)/config  manpages
+       make -C $(WORKDIR)/config  check
+
+
+
+build-my:   fetch-my gitpull check
        $(MAKECOOKIE)
 
 install-my: 
@@ -74,14 +83,3 @@
        $(INSTALL_MAN) $(WORKDIR)/config/doc/config.guess.1
        $(INSTALL_MAN) $(WORKDIR)/config/doc/config.sub.1
 
-.PHONY: check gitpull fetch
-# needs help2man  for doc
-
-check:
-       make -C $(WORKDIR)/config  manpages
-       make -C $(WORKDIR)/config  check
-
-gitpull:
-       (cd $(WORKDIR)/config; git pull)
-
-


reply via email to

[Prev in Thread] Current Thread [Next in Thread]