[tex-live] No rule to make target `ppower4', needed by `all'. Stop

Reinhard Kotucha reinhard.kotucha at web.de
Sat Mar 15 00:44:28 CET 2008

Hi Karl,

Karl Berry writes:

 > I removed it (and the script itself), thanks for the heads-up.
 > 1) Perhaps you would like to also make a wrapper for pdfthumb.  (The
 >    other script in ppower4.)

Done. -> rev 6971.

 > 2) I think it would be clearer to use extensions in the .../scripts
 >    directories, e.g., ppower4.texlua instead of just ppower4.

Good idea, not only because it is clearer for humans, it also makes it
easier to identify the files by scripts.  Done, with pleasure.

 > 3) When setting up symlinks in the bin directories, it is necessary to
 >    add the new link to the list in texk/tetex/Makefile.in; otherwise,
 >    when the normal builds are done, the links will be lost.

Ok, but maybe it even makes more sense to have an extra script which
can be run in Master/bin and can be called by the Makefile.  This
makes it easier to create the symlinks for testing the stuff in
Master/bin without the need to compile the binaries.

I extended Makefile.in a little bit in order to support the -sys

--- Makefile.in 2008-03-14 18:06:34.000000000 +0100
+++ Makefile.in--       2008-03-14 22:37:32.000000000 +0100
@@ -24,13 +24,17 @@
   texmf/scripts/ps2eps/ps2eps.pl \
   texmf/scripts/tetex/e2pall.pl \
   texmf/scripts/tetex/texdoctk.pl \
+  texmf/scripts/texlive/getnonfreefonts.pl \
   texmf-dist/scripts/glossaries/makeglossaries \
-  texmf-dist/scripts/ppower4/ppower4 \
   texmf-dist/scripts/perltex/perltex.pl \
   texmf-dist/scripts/texcount/TeXcount.pl \
   texmf-dist/scripts/thumbpdf/thumbpdf.pl \
+  texmf-dist/scripts/ppower4/ppower4.texlua \
+  texmf/scripts/texlive/getnonfreefonts.pl
   ctxtools exatools luatools makempy mpstools mptopdf mtxtools \
   pdftools pstopdf rlxtools runtools texexec texfont texmfstart \
@@ -98,7 +102,7 @@
        $(INSTALL_SCRIPT) $(srcdir)/tcfmgr $(texmf)/texconfig/tcfmgr
        $(INSTALL_DATA) $(srcdir)/tcfmgr.map $(texmf)/texconfig/tcfmgr.map
-install-exec: install-linkedscripts
+install-exec: install-linkedscripts install-linked-sys-scripts 
        -$(SHELL) $(srcdir)/../mkinstalldirs $(scriptdir)
        for s in $(SCRIPTS); do \
          $(INSTALL_SCRIPT) $(srcdir)/$$s $(scriptdir)/$$s; \
@@ -137,6 +141,18 @@
          ln -s ../../$$s $$target; \
+       -$(SHELL) $(srcdir)/../mkinstalldirs $(scriptdir)
+       # link to the basename, removing any extension, of the source,
+       # and append -sys to the file name.
+       # we downcase for the sake of TeXcount.pl -> texcount-sys.
+       for s in $(LINKED_SYS_SCRIPTS); do \
+         target=$(scriptdir)/`basename $$s | sed 's,\.[^/]*$$,,' | tr A-Z a-z`; \
+         target="$target-sys" \
+         rm -f $$target; \
+         ln -s ../../$$s $$target; \
+       done
 kpse_include ../make/clean.mk
 config.status: $(srcdir)/configure

The difference between install-linkedscripts and
install-linked-sys-scripts is the line:


 > P.S. Alternatively, I wonder if anyone uses ppower4 any more.  Maybe we
 > should just remove it.  It has been untouched for six years, and there
 > have been a lot of presentation packages developed in the meantime.

LaTeX has been untouched for fourteen years.  And there is Context.
Is this a reason to remove it?

I propose to keep it, unless there are any good reasons to remove it.

BTW, I added the svn:executable flag to everything in Master/bin but
it's certainly better to extend ~/.subversion/config.  What I have now is:

  | # Extensions we want to be executable.
  | *.bat = svn:executable=ON
  | *.exe = svn:executable=ON
  | *.pl  = svn:executable=ON
  | *.rb  = svn:executable=ON
  | *.lua = svn:executable=ON
  | *.texlua = svn:executable=ON

I added *.lua because this extension is used by Context scripts.

  | # Expand the $ Id: $ string.
  | *.bat = svn:keywords "Date Author Id"
  | *.rb  = svn:keywords "Date Author Id"
  | *.pl  = svn:keywords "Date Author Id"
  | *.lua = svn:keywords "Date Author Id"
  | *.texlua = svn:keywords "Date Author Id"

This is new.  It's painful to set these properties manually.  Maybe it
makes sense to put it into http://tug.org/texlive/svn/config.txt .


Reinhard Kotucha			              Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.

More information about the tex-live mailing list