[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New build system: copy-build-system
From: |
Ludovic Courtès |
Subject: |
Re: New build system: copy-build-system |
Date: |
Wed, 29 Jan 2020 00:04:52 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi Pierre,
Pierre Neidhardt <address@hidden> skribis:
> Examples:
>
> - `("foo/bar" "share/my-app/")`: Install bar to "share/my-app/bar".
> - `("foo/bar" "share/my-app/baz")`: Install bar to "share/my-app/baz".
> - `("foo/" "share/my-app")`: Install the content of foo inside "share/my-app",
> e.g. install "foo/sub/file" to "share/my-app/sub/file".
> - `("foo/" "share/my-app" #:include ("sub/file"))`: Install only
> "foo/sub/file" to "share/my-app/sub/file".
> - `("foo/sub" "share/my-app" #:include ("file"))`: Install "foo/sub/file" to
> "share/my-app/file".
Looks like it could work.
I think the general approach should be: pick a handful of packages that
you’d like to rewrite to the new build system, provide the options that
support it (but not more), and verify that the resulting package
definitions are indeed shorter.
> Maybe instead of having two #:include and #:include-regexp we could have just
> one #:include in which the list elements have a "marker" that tells whether
> they
> are regexps or not.
Probably the former, so that strings are either always or never
interpreted as regexps. (Guile doesn’t have special “markers” for
regexps.)
Ludo’.
- Re: New build system: copy-build-system, (continued)
- Re: New build system: copy-build-system, zimoun, 2020/01/27
- Re: New build system: copy-build-system, Pierre Neidhardt, 2020/01/27
- Re: New build system: copy-build-system, zimoun, 2020/01/27
- Re: New build system: copy-build-system, Pierre Neidhardt, 2020/01/27
- Re: New build system: copy-build-system, zimoun, 2020/01/27
- Re: New build system: copy-build-system, Julien Lepiller, 2020/01/27
- How to deal with very large sources, Ricardo Wurmus, 2020/01/27
Re: New build system: copy-build-system, Ricardo Wurmus, 2020/01/27