darcs

Issue 1271 "make install" installs darcs.pdf and darcs_print.pdf (2.2.0pre1)

Title "make install" installs darcs.pdf and darcs_print.pdf (2.2.0pre1)
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, twb
Assigned To twb
Topics

Created on 2008-12-19.03:09:50 by twb, last changed 2009-08-27.14:16:03 by admin.

Messages
msg6830 (view) Author: twb Date: 2008-12-19.03:09:47
The rule to make darcs.pdf from darcs_print.pdf needs to be rethought.
The correct approach is to make darcs.tex from darcs_print.tex?

twb@Clio[darcs-2.2.0pre1]$ make install DESTDIR=`mktemp -d`
test -f src/Context.hs || echo unknown | ./stringify Context context > src/Context.hs
/usr/bin/install -c -d /tmp/tmp.nUFwtImXGh/usr/local/share/doc/darcs/examples
/usr/bin/install -c -m 644 tools/zsh_completion_new /tmp/tmp.nUFwtImXGh/usr/local/share/doc/darcs/examples
/usr/bin/install -c -m 644 tools/zsh_completion_old /tmp/tmp.nUFwtImXGh/usr/local/share/doc/darcs/examples
/usr/bin/install -c -d /tmp/tmp.nUFwtImXGh/usr/local/share/doc/darcs/manual
/usr/bin/install -c -m 644 doc/manual/*.pdf /tmp/tmp.nUFwtImXGh/usr/local/share/doc/darcs/manual
/usr/bin/install -c -d /tmp/tmp.nUFwtImXGh/usr/local/bin
/usr/bin/install -c darcs /tmp/tmp.nUFwtImXGh/usr/local/bin
/usr/bin/install -c -d /tmp/tmp.nUFwtImXGh/usr/local/etc/bash_completion.d
/usr/bin/install -c -m 644 tools/darcs_completion /tmp/tmp.nUFwtImXGh/usr/local/etc/bash_completion.d/darcs
/usr/bin/install -c -d /tmp/tmp.nUFwtImXGh/usr/local/share/man/man1
/usr/bin/install -c -m 644 doc/darcs.1 /tmp/tmp.nUFwtImXGh/usr/local/share/man/man1/
twb@Clio[darcs-2.2.0pre1]$ find /tmp/tmp.nUFwtImXGh/
/tmp/tmp.nUFwtImXGh/
/tmp/tmp.nUFwtImXGh/usr
/tmp/tmp.nUFwtImXGh/usr/local
/tmp/tmp.nUFwtImXGh/usr/local/etc
/tmp/tmp.nUFwtImXGh/usr/local/etc/bash_completion.d
/tmp/tmp.nUFwtImXGh/usr/local/etc/bash_completion.d/darcs
/tmp/tmp.nUFwtImXGh/usr/local/bin
/tmp/tmp.nUFwtImXGh/usr/local/bin/darcs
/tmp/tmp.nUFwtImXGh/usr/local/share
/tmp/tmp.nUFwtImXGh/usr/local/share/man
/tmp/tmp.nUFwtImXGh/usr/local/share/man/man1
/tmp/tmp.nUFwtImXGh/usr/local/share/man/man1/darcs.1
/tmp/tmp.nUFwtImXGh/usr/local/share/doc
/tmp/tmp.nUFwtImXGh/usr/local/share/doc/darcs
/tmp/tmp.nUFwtImXGh/usr/local/share/doc/darcs/manual
/tmp/tmp.nUFwtImXGh/usr/local/share/doc/darcs/manual/patch-theory.pdf
/tmp/tmp.nUFwtImXGh/usr/local/share/doc/darcs/manual/darcs_print.pdf
/tmp/tmp.nUFwtImXGh/usr/local/share/doc/darcs/manual/darcs.pdf
/tmp/tmp.nUFwtImXGh/usr/local/share/doc/darcs/examples
/tmp/tmp.nUFwtImXGh/usr/local/share/doc/darcs/examples/zsh_completion_old
/tmp/tmp.nUFwtImXGh/usr/local/share/doc/darcs/examples/zsh_completion_new
twb@Clio[darcs-2.2.0pre1]$ ls doc/manual -l
total 1416
-rw-r----- 1 twb twb   1340 2008-12-19 13:03 contents.png
-rw-r----- 1 twb twb     86 2008-12-19 13:03 crossref.png
-rw-r----- 1 twb twb   1108 2008-12-19 13:05 darcs.css
-rw-r----- 1 twb twb 459764 2008-12-19 13:51 darcs.pdf
-rw-r--r-- 1 twb twb  17116 2008-12-19 13:51 darcs_print.aux
-rw-r--r-- 1 twb twb  25230 2008-12-19 13:51 darcs_print.log
-rw-r----- 1 twb twb 459764 2008-12-19 13:51 darcs_print.pdf
-rw-r--r-- 1 twb twb 336887 2008-12-19 13:50 darcs_print.tex
-rw-r--r-- 1 twb twb  11396 2008-12-19 13:51 darcs_print.toc
-rw-r----- 1 twb twb      0 2008-12-19 13:05 index.html
-rw-r----- 1 twb twb   1302 2008-12-19 13:03 next.png
-rw-r----- 1 twb twb   1302 2008-12-19 13:03 next_g.png
-rw-r----- 1 twb twb   1302 2008-12-19 13:03 nx_grp_g.png
-rw-r--r-- 1 twb twb    260 2008-12-19 13:51 patch-theory.aux
-rw-r--r-- 1 twb twb   3682 2008-12-19 13:51 patch-theory.log
-rw-r--r-- 1 twb twb  42469 2008-12-19 13:51 patch-theory.pdf
-rw-r--r-- 1 twb twb   2327 2008-12-19 13:51 patch-theory.tex
-rw-r----- 1 twb twb   1348 2008-12-19 13:03 prev.png
-rw-r----- 1 twb twb   1348 2008-12-19 13:03 prev_g.png
-rw-r----- 1 twb twb   1320 2008-12-19 13:03 up.png
-rw-r----- 1 twb twb   1320 2008-12-19 13:03 up_g.png
twb@Clio[darcs-2.2.0pre1]$ ./darcs --version
2.2.0pre1 (prerelease 1)
twb@Clio[darcs-2.2.0pre1]$
msg6831 (view) Author: kowey Date: 2008-12-19.08:45:52
On Fri, Dec 19, 2008 at 03:09:51 -0000, Trent Buck wrote:
> The rule to make darcs.pdf from darcs_print.pdf needs to be rethought.
> The correct approach is to make darcs.tex from darcs_print.tex?

Is the problem here is just that darcs_print.pdf and darcs.pdf are
redundant, and that only the latter should be installed?
msg6839 (view) Author: twb Date: 2008-12-19.23:24:03
On Fri, Dec 19, 2008 at 08:45:40AM +0000, Eric Kow wrote:
> On Fri, Dec 19, 2008 at 03:09:51 -0000, Trent Buck wrote:
>> The rule to make darcs.pdf from darcs_print.pdf needs to be
>> rethought.  The correct approach is to make darcs.tex from
>> darcs_print.tex?
>
> Is the problem here just that darcs_print.pdf and darcs.pdf are
> redundant, and that only the latter should be installed?

Yep.
msg7033 (view) Author: twb Date: 2009-01-11.06:16:27
A patch resolving this was sent to the mailing list; it resolves it
by never making darcs.pdf (just installing darcs_print.pdf).
This was rejected for the 2.2.0 freeze, but hopefully will be applied to
the main branch sometime.
msg7467 (view) Author: twb Date: 2009-03-15.13:44:26
The following patch updated the status of issue1271 to be resolved:

* Resolve issue1271: do not install two copies of darcs.pdf. 
Ignore-this: d4ce03f03fb5a6a506d07aff6ef16440
History
Date User Action Args
2008-12-19 03:09:50twbcreate
2008-12-19 08:45:55koweysetstatus: unread -> unknown
nosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin
messages: + msg6831
2008-12-19 23:24:06twbsetassignedto: twb
messages: + msg6839
nosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin
2008-12-21 17:25:39koweysetpriority: bug
nosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin
2009-01-11 06:16:30twbsetnosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin
messages: + msg7033
2009-03-15 13:42:08koweysetnosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin
title: make install" installs darcs.pdf and darcs_print.pdf (2.2.0pre1) -> "make install" installs darcs.pdf and darcs_print.pdf (2.2.0pre1)
2009-03-15 13:44:28twbsetstatus: unknown -> resolved
nosy: kowey, simon, twb, thorkilnaur, dmitry.kurochkin
messages: + msg7467
2009-08-25 17:36:21adminsetnosy: + darcs-devel, - simon
2009-08-27 14:16:03adminsetnosy: kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin