mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
build: fix cygwin build issues
* doc/local.mk (doc/constants.texi): Ensure the doc directory is present which is needed when doing a non source dir build, when the doc/constants.texi target is built before other doc targets. * src/local.mk: Add $(EXEEXT) to the make-prime-list calls.
This commit is contained in:
1 parent
478d0183bc
commit
6cedbca7f9
2 files changed
+3
-2
No files matched your search
@@ -36,6 +36,7 @@ AM_MAKEINFOFLAGS = --no-split
|
||||
|
||||
doc/constants.texi: $(top_srcdir)/src/tail.c $(top_srcdir)/src/shred.c
|
||||
$(AM_V_GEN)LC_ALL=C; export LC_ALL; \
|
||||
$(MKDIR_P) doc && \
|
||||
{ sed -n -e 's/^#define \(DEFAULT_MAX[_A-Z]*\) \(.*\)/@set \1 \2/p' \
|
||||
$(top_srcdir)/src/tail.c && \
|
||||
sed -n -e \
|
||||
|
||||
+2
-2
@@ -387,9 +387,9 @@ src/dircolors.h: src/dcgen src/dircolors.hin
|
||||
# known ints (currently 128-bit).
|
||||
BUILT_SOURCES += $(top_srcdir)/src/primes.h
|
||||
$(top_srcdir)/src/primes.h:
|
||||
$(MAKE) src/make-prime-list
|
||||
$(MAKE) src/make-prime-list$(EXEEXT)
|
||||
$(AM_V_GEN)rm -f $@ $@-t
|
||||
$(AM_V_at)src/make-prime-list 5000 > $@-t
|
||||
$(AM_V_at)src/make-prime-list$(EXEEXT) 5000 > $@-t
|
||||
$(AM_V_at)chmod a-w $@-t
|
||||
$(AM_V_at)mv $@-t $@
|
||||
|
||||
|
||||
Reference in new issue
Block a user