[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testing "Brazil" on Cygwin... is that expected?
From: |
Achim Gratz |
Subject: |
Re: Testing "Brazil" on Cygwin... is that expected? |
Date: |
Fri, 15 Aug 2014 13:55:35 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Achim Gratz <Stromeko <at> NexGo.DE> writes:
> The following patch makes GNU parallel work correctly on systems that report
> bogus link counts on hard-linked files.
And another patch to deal with the sem -> parallel symlink correctly on install.
--- origsrc/parallel-20140722/configure.ac 2014-07-22
02:50:40.000000000 +0200
+++ src/parallel-20140722/configure.ac 2014-08-15 14:50:53.139931700 +0200
@@ -11,5 +11,5 @@ AC_ARG_ENABLE(documentation,
[Omit building and installing the documentation.
(default=no)]),,
[enable_documentation=yes])
AM_CONDITIONAL([DOCUMENTATION], [test x$enable_documentation = xyes])
-
+AC_PROG_LN_S
AC_OUTPUT
--- origsrc/parallel-20140722/src/Makefile.am 2014-07-15
17:40:18.000000000 +0200
+++ src/parallel-20140722/src/Makefile.am 2014-08-15
14:45:34.977370700 +0200
@@ -1,5 +1,6 @@
-bin_SCRIPTS = parallel sem sql niceload
-
+bin_SCRIPTS = parallel sql niceload
+install-exec-hook:
+ $(LN_S) $(DESTDIR)$(bindir)/parallel $(DESTDIR)$(bindir)/sem
if DOCUMENTATION
man_MANS = parallel.1 sem.1 sql.1 niceload.1 parallel_tutorial.1
doc_DATA = parallel.html sem.html sql.html niceload.html
parallel_tutorial.html parallel.texi sem.texi sql.texi niceload.texi
parallel_tutorial.texi parallel.pdf sem.pdf sql.pdf niceload.pdf
parallel_tutorial.pdf
@@ -112,7 +113,7 @@ niceload.pdf: niceload.pod
|| echo "Warning: pod2pdf not found. Using old niceload.pdf"
sem: parallel
- ln -fs parallel sem
+ $(LN_S) -f $(srcdir)/parallel $(srcdir)/sem
DISTCLEANFILES = parallel.1 sem.1 sql.1 niceload.1 parallel_tutorial.1 \
parallel.html sem.html sql.html niceload.html parallel_tutorial.html \
Regards,
Achim.