summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2019-01-28 15:25:30 +0100
committerTim Rühsen <tim.ruehsen@gmx.de>2019-01-28 20:32:34 +0100
commitf0e4f8df29102342ca2a9377917adbb7f95742c6 (patch)
tree2bff046036c86cfbc1680a3f885ab10e90a83ed8 /cfg.mk
parent5f7b10e632971cadf277208d3fde711c35868ccb (diff)
downloadgnutls-f0e4f8df29102342ca2a9377917adbb7f95742c6.tar.gz
Fix 'make glimport' and update CONTRIBUTING.mdtmp-update-glimport-and-docs
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk19
1 files changed, 5 insertions, 14 deletions
diff --git a/cfg.mk b/cfg.mk
index 7402dc6e63..8f1470c992 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -23,7 +23,7 @@ ADDFLAGS ?=
CFGFLAGS ?= --enable-gtk-doc --enable-gtk-doc-pdf --enable-gtk-doc-html $(ADDFLAGS) $(WFLAGS)
PACKAGE ?= gnutls
-.PHONY: config
+.PHONY: config glimport
INDENT_SOURCES = `find . -name \*.[ch] -o -name gnutls.h.in | grep -v -e ^./build-aux/ -e ^./lib/minitasn1/ -e ^./lib/build-aux/ -e ^./gl/ -e ^./src/libopts/ -e -args.[ch] -e asn1_tab.c -e ^./tests/suite/`
@@ -72,19 +72,10 @@ config:
bootstrap: autoreconf .submodule.stamp
-UNISTRING_MODULES = "unistr/u8-check unistr/u8-to-u16 unistr/u8-to-u32 unistr/u32-to-u8 \
- unistr/u16-to-u8 uninorm/nfc uninorm/nfkc uninorm/u8-normalize uninorm/u16-normalize \
- uninorm/u32-normalize unictype/category-all unictype/property-not-a-character \
- unictype/property-default-ignorable-code-point unictype/property-join-control"
-
-unistringimport:
- ../gnulib/gnulib-tool --without-tests --libtool --macro-prefix=unistring --lgpl=3orGPLv2 --dir=. --local-dir=lib/unistring/override --lib=libunistring --without-tests --source-base=lib/unistring --m4-base=lib/unistring/m4 --doc-base=doc --aux-dir=build-aux --import $(UNISTRING_MODULES)
-
-# The only non-lgpl modules used are: gettime progname timespec. Those
-# are not used (and must not be used) in the library)
-glimport: unistringimport
- ../gnulib/gnulib-tool --dir=. --local-dir=gl/override --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=gl/tests --aux-dir=build-aux --lgpl=2 --add-import
- ../gnulib/gnulib-tool --dir=. --local-dir=src/gl/override --lib=libgnu_gpl --source-base=src/gl --m4-base=src/gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --add-import
+glimport:
+ pushd gnulib && git checkout master && git pull && popd
+ echo "If everything looks well, commit the gnulib update with:"
+ echo " git commit -m "Update gnulib submodule" gnulib"
# Code Coverage