diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-04-17 18:58:23 +0200 |
|---|---|---|
| committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-04-19 16:45:38 +0200 |
| commit | bb089f76227666e11e6949038c4fd9e130e047a3 (patch) | |
| tree | 34af56352d6c8dc3588baea4326f401b00d18922 /Makefile.am | |
| parent | e9e60b3a1dd2f88da4e1634e1c0f73077054aca6 (diff) | |
maint: Resurrect running `make' from a tarball.
This is a follow-up to commit
8b972da068708a8b17f3ab153ea940690ca49ca9
Makefile.am: Auto-configure Git on 'make'.
* configure.ac (in_git_p): New conditional.
* Makefile.am (nodist_noinst_DATA): Use it to only enable this when building
from Git.
Change-Id: I09a90a59a4933a8cdb04124467d38209171f2a57
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 25b3eb3378c..98008c528de 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -1241,7 +1241,12 @@ COMMIT_MSG_MAGIC = VGhpcyBpcyB0aGUgY29tbWl0LW1zZyBob29rIG9mIEd1aXg= | |||
| 1241 | cp etc/git/commit-msg $@; \ | 1241 | cp etc/git/commit-msg $@; \ |
| 1242 | fi | 1242 | fi |
| 1243 | 1243 | ||
| 1244 | # The etc/git/ config files are not distributed and have no use when building | ||
| 1245 | # from a tarball. Do not add dependencies on these to *_DATA when building | ||
| 1246 | # from a tarball, as that breaks the build. | ||
| 1247 | if in_git_p | ||
| 1244 | nodist_noinst_DATA = .git/hooks/pre-push .git/config .git/hooks/commit-msg | 1248 | nodist_noinst_DATA = .git/hooks/pre-push .git/config .git/hooks/commit-msg |
| 1249 | endif | ||
| 1245 | 1250 | ||
| 1246 | # Downloading up-to-date PO files. | 1251 | # Downloading up-to-date PO files. |
| 1247 | 1252 | ||
