Brown paper bag: sharedir/unrtf > pkgdatadir
Git-Dch: ignore
Willi Mann
11 years ago
13 | 13 |
|
14 | 14 |
bin_PROGRAMS = unrtf
|
15 | 15 |
|
16 | |
+AM_CPPFLAGS = -DSHAREDIR=\"$(sharedir)\"
|
|
16 |
+AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\"
|
17 | 17 |
+
|
18 | 18 |
unrtf_SOURCES = attr.c attr.h \
|
19 | 19 |
convert.c convert.h \
|
14 | 14 |
#endif
|
15 | 15 |
|
16 | 16 |
-#define CONFIG_DIR "/usr/local/lib/unrtf/"
|
17 | |
+#define CONFIG_DIR SHAREDIR "/unrtf/"
|
|
17 |
+#define CONFIG_DIR PKGDATADIR "/"
|
18 | 18 |
#define DEFAULT_OUTPUT "html"
|
19 | 19 |
|
20 | 20 |
extern OutputPersonality *op;
|
11 | 11 |
+++ b/outputs/Makefile.am
|
12 | 12 |
@@ -1,2 +1,2 @@
|
13 | 13 |
-outputsdir = ${libdir}/${PACKAGE}
|
14 | |
+outputsdir = ${sharedir}/${PACKAGE}
|
|
14 |
+outputsdir = ${pkgdatadir}/${PACKAGE}
|
15 | 15 |
dist_outputs_DATA = html.conf latex.conf rtf.conf text.conf vt.conf
|