diff options
author | roktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-10-07 21:43:44 +0000 |
---|---|---|
committer | roktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-10-07 21:43:44 +0000 |
commit | 175ddc3f6e6fec97ffe51b943c02079818be8721 (patch) | |
tree | 5cf66ffe5ebf6542bc9201e1f018e6cb28a8677e /debian | |
parent | ea0d5663be157e623f5c5fb13c120f4f1c3eeb33 (diff) | |
download | pandoc-175ddc3f6e6fec97ffe51b943c02079818be8721.tar.gz |
Makefile:
- New variables to make use in debian/rules: DATADIR, DOCDIR. Cabal uses
$prefix/pandoc-$VERSION/doc for the documentation files, where as the
Debian package uses $prefix/doc/pandoc. We need these variables to resolve
the conflict.
debian/rules:
- Set and export DATADIR, DOCDIR which controls the installation of document
files at install-program target.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1045 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index aeb66d74e..8e3dc240f 100755 --- a/debian/rules +++ b/debian/rules @@ -12,6 +12,8 @@ THIS := $(shell sed -ne 's/^Source: \(.*\)/\1/p' debian/control) PREFIX := /usr DESTDIR := debian/$(THIS) +DATADIR := $(THIS) +DOCDIR := doc/$(THIS) # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 @@ -29,7 +31,7 @@ HCFLAGS+=-O0 endif # Export all variables which will be used in various stages of build process. -export PREFIX DESTDIR HCFLAGS +export PREFIX DESTDIR DATADIR DOCDIR HCFLAGS configure: configure-stamp configure-stamp: |