diff options
author | roktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-11-02 14:32:57 +0000 |
---|---|---|
committer | roktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-11-02 14:32:57 +0000 |
commit | 2066ec5d0274cae6d86e8c18896ba162d8a53be6 (patch) | |
tree | 5b60c61febd3d0786f8a9c048c622a9d0f224baf /markdown2pdf | |
parent | 2d2914ff1aa02d487f5454248b7640e0e2551286 (diff) | |
download | pandoc-2066ec5d0274cae6d86e8c18896ba162d8a53be6.tar.gz |
More sanitizations in Makefile (needs testing):
+ Remove a bogus DOCS assignment line.
+ Cabal recreates pandoc executable by unnecessarily linking Main.o with
library (it skips compiling *.hs files though). Since pandoc's time
stamp is modified, it is copied from buildir to top directory, and also
README.html is regenerated, each time a target which has a 'build'
prerequisite is invoked. As a solution, now PHONY 'build' target depends
on BUILDDIR/.
+ "THIS" variable has a confusing semantics and it is abusingly used in
various targets. We in fact need it to specify package sub directories
created during installation. Clarify this meaning by moving it to path
variables section.
+ Create a new variable as MAIN which holds the main executable name.
Sorry for my obsession to avoid simply using a magic "pandoc" name. :-)
Modify all targets which (abusingly) refers to THIS and replace THIS
with MAIN. Note that MAIN is derived from EXECS which in turn collects
all executable names from Executable stanzas in cabal file.
+ As EXECS may hold more than one executable name, update EXECS target to
reflect this semantic.
+ Rename BINS variable as PROGS and modify it so as to hold the names of
all executables required to be installed. Remove bin_all local variable
as PROGS can be used for the same purpose instead.
+ Modify DOCS variable so as to hold the names of all documents required to
be installed. Remove doc_all local variable as DOCS can be used for the
same purpose instead.
+ Remove DOCS target. README.html is already generated when needed.
+ Remove build-exec redundant prerequisite from osx_dest target. Make can
find its way.
+ Set MAIN as the prerequisite of 'test' and 'test-markdown' to make things
more clear.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@70 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'markdown2pdf')
0 files changed, 0 insertions, 0 deletions