[gnutls-devel] GnuTLS | build: remove src/*.bak from distribution (!808)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Nov 15 17:43:04 CET 2018


Dmitry Eremin-Solenikov started a new discussion on src/Makefile.am:

> -		cp -p $${srcdir}$${b}.c.bak $${b}.c; \
> -		cp -p $${srcdir}$${b}.h.bak $${b}.h; \
> -	} && \
> -	touch $@
> -
> -.c.c.bak:
> +args-std.def: args-std.def.in
>  	$(AM_V_GEN) srcdir=''; \
> -		test -f ./$@ || srcdir=$(srcdir)/; \
> -		test -f $${srcdir}/$@ || cp -p $< $@
> +		test -f ./$@.in || srcdir=$(srcdir)/; \
> +		sed \
> +		-e 's|@VERSION[@]|$(VERSION)|g' \
> +		-e 's|@YEAR[@]|$(YEAR)|g' \
> +		-e 's|@PACKAGE_BUGREPORT[@]|$(PACKAGE_BUGREPORT)|g' \
> +		$${srcdir}$@.in > $@.tmp && mv $@.tmp $@

I need to do this. Configure script can handle generating the file.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/808#note_117610312
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181115/53f89409/attachment.html>


More information about the Gnutls-devel mailing list