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:
fiddlosopher 2008-09-23 15:55:30 +00:00
parent fcb220a7a4
commit 3b58456673
8 changed files with 1 additions and 2 deletions

View file

@ -11,7 +11,6 @@ BUILDDIR := dist
BUILDCONF := $(BUILDDIR)/setup-config
BUILDVARS := vars
CONFIGURE := configure
ODTSTYLES := odt-styles
#-------------------------------------------------------------------------------
# Cabal constants

View file

@ -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

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB