Codebase list unrtf / b7065f7
Brown paper bag: sharedir/unrtf > pkgdatadir Git-Dch: ignore Willi Mann 11 years ago
3 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
1313
1414 bin_PROGRAMS = unrtf
1515
16 +AM_CPPFLAGS = -DSHAREDIR=\"$(sharedir)\"
16 +AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\"
1717 +
1818 unrtf_SOURCES = attr.c attr.h \
1919 convert.c convert.h \
1414 #endif
1515
1616 -#define CONFIG_DIR "/usr/local/lib/unrtf/"
17 +#define CONFIG_DIR SHAREDIR "/unrtf/"
17 +#define CONFIG_DIR PKGDATADIR "/"
1818 #define DEFAULT_OUTPUT "html"
1919
2020 extern OutputPersonality *op;
1111 +++ b/outputs/Makefile.am
1212 @@ -1,2 +1,2 @@
1313 -outputsdir = ${libdir}/${PACKAGE}
14 +outputsdir = ${sharedir}/${PACKAGE}
14 +outputsdir = ${pkgdatadir}/${PACKAGE}
1515 dist_outputs_DATA = html.conf latex.conf rtf.conf text.conf vt.conf