From 61977cbd2e29542023cd9dfe322ff86fe168dfdc Mon Sep 17 00:00:00 2001
From: fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>
Date: Wed, 23 Jul 2008 02:31:20 +0000
Subject: [PATCH] Fixed REFERENCEODT in markdown2odt to point to the right
 place in debian builds. Resolves Issue #79.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1332 788f1e2b-df1e-0410-8736-df70ead52e1b
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index d0935746d..53dad731a 100644
--- a/Makefile
+++ b/Makefile
@@ -117,7 +117,7 @@ $(ODTREF): $(addprefix $(ODTSTYLES)/, layout-cache meta.xml styles.xml content.x
 ODTREFSH=$(SRCDIR)/wrappers/odtref.sh
 cleanup_files+=$(ODTREFSH)
 $(ODTREFSH): $(ODTREF)
-	echo "REFERENCEODT='$(PKGDATAPATH)/$(notdir $(ODTREF))'" > $@
+	echo "REFERENCEODT='$(PREFIX)/share/$(DATADIR)/$(notdir $(ODTREF))'" > $@
 
 .PHONY: wrappers
 wrappers: $(WRAPPERS)