Browse Source

- add makefile to update gnuconfig

master
vanhofen 3 years ago
parent
commit
a95494f8c1
  1. 4
      make/buildsystem-update.mk
  2. 17
      support/gnuconfig/gnuconfig-update.mk

4
make/buildsystem-update.mk

@ -111,6 +111,10 @@ endif
# -----------------------------------------------------------------------------
include support/gnuconfig/gnuconfig-update.mk
# -----------------------------------------------------------------------------
REPOSITORIES = \
. \
$(BUILD_GENERIC_PC) \

17
support/gnuconfig/gnuconfig-update.mk

@ -0,0 +1,17 @@
################################################################################
#
# gnuconfig update
#
################################################################################
GNUCONFIG_VERSION = git
GNUCONFIG_DIR = config.$(GNUCONFIG_VERSION)
GNUCONFIG_SOURCE = config.$(GNUCONFIG_VERSION)
GNUCONFIG_SITE = https://git.savannah.gnu.org/git
update-gnuconfig:
$(REMOVE)/$(GNUCONFIG_DIR)
$(GET_GIT_SOURCE) $(GNUCONFIG_SITE)/$(GNUCONFIG_SOURCE) $(BUILD_DIR)/$(GNUCONFIG_SOURCE)
$(INSTALL_EXEC) $(BUILD_DIR)/$(GNUCONFIG_SOURCE)/config.* support/gnuconfig
$(REMOVE)/$(GNUCONFIG_DIR)
@$(call MESSAGE,"Commit your changes in support/gnuconfig")
Loading…
Cancel
Save