Moved odt-styles/ to data/. Removed unneeded variable in Makefile.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1458 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
fcb220a7a4
commit
3b58456673
8 changed files with 1 additions and 2 deletions
1
Makefile
1
Makefile
|
@ -11,7 +11,6 @@ BUILDDIR := dist
|
|||
BUILDCONF := $(BUILDDIR)/setup-config
|
||||
BUILDVARS := vars
|
||||
CONFIGURE := configure
|
||||
ODTSTYLES := odt-styles
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Cabal constants
|
||||
|
|
|
@ -46,7 +46,7 @@ saveOpenDocumentAsODT :: FilePath -- ^ Pathname of ODT file to be produced.
|
|||
-> String -- ^ OpenDocument XML contents.
|
||||
-> IO ()
|
||||
saveOpenDocumentAsODT destinationODTPath sourceDirRelative xml = do
|
||||
let refArchive = read $(makeZip "odt-styles")
|
||||
let refArchive = read $(makeZip $ "data" </> "odt-styles")
|
||||
-- handle pictures
|
||||
let (newContents, pics) =
|
||||
case runParser pPictures [] "OpenDocument XML contents" xml of
|
||||
|
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Loading…
Reference in a new issue