From: Steve Brokenshire Date: Sun, 6 May 2018 11:47:10 +0000 (+0100) Subject: Makefile.in: Copy over the ODT Help Browser on install X-Git-Tag: release-0.23~16 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=7e536a8f7b6fda49d1b409c52869ee4771538d34;p=xestiaab%2F.git Makefile.in: Copy over the ODT Help Browser on install --- diff --git a/source/Makefile.in b/source/Makefile.in index 18dbc37..e5c6960 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -3,6 +3,7 @@ STRIP=strip CPPFLAGS=`xml2-config --cflags` `wx-config --cxxflags` -std=c++11 @DBGOUT@ CPPLIBS=`wx-config --libs` `curl-config --libs` -lsfml-audio -lxml2 MAKE=make +MKDIR=mkdir @DBGSTATUS@ XAB_OUT=xestiaab @@ -88,7 +89,7 @@ default: xestiaab: actmgrobjs formobjs widgetobjs commonobjs vcardobjs \ connobjs carddav2objs ceobjs cdoobjs mainobjs \ - searchobjs imexobjs + searchobjs imexobjs $(CPP) $(CPPFLAGS) $(ACTMGROBJS) $(FORMOBJS) $(WIDGETOBJS) \ $(COMMONOBJS) $(VCARDOBJS) $(CEOBJS) $(CDOOBJS) \ $(SEARCHOBJS) $(MAINOBJS) $(IMEXOBJS) $(CONNOBJS) $(CARDDAV2OBJS) \ @@ -109,7 +110,7 @@ commonobjs: $(COMMONOBJS) vcardobjs: $(VCARDOBJS) -ceobjs: $(CEOBJS) +ceobjs: $(CEOBJS) cdoobjs: $(CDOOBJS) @@ -148,11 +149,19 @@ odthelpbrowserobjs: $(ODTHELPBROWSEROBJS) odthelpbrowser: odthelpbrowserobjs $(CPP) $(CPPFLAGS) $(ODTHELPBROWSEROBJS) -o $(ODTHELPBROWSER) $(CPPLIBS) -install: +install-docs: + #TODO: Add @PREFIX@ for docs, xestiaab and man page + $(MKDIR) @DATAROOTDIR@/doc/xestiaab/ + cp "../docs/Documentation (en-GB).fodt" @DATAROOTDIR@/doc/xestiaab/en_GB.fodt + +install: install-docs cp $(XAB_OUT) @BINDIR@/$(XAB_OUT) cp xestiaab.1 @DATAROOTDIR@/man/man1/xestiaab.1 -uninstall: +uninstall-docs: + rm -rf @DATAROOTDIR@/doc/xestiaab + +uninstall: uninstall-docs rm @BINDIR@/$(XAB_OUT) rm @DATAROOTDIR@/man/man1/xestiaab.1