Install the musrfit documentation locally and adjust the paths in musredit_startup.xml at configure time

This commit is contained in:
Bastian M. Wojek
2011-08-06 19:55:16 +00:00
parent 254d849079
commit d16aef5ef0
8 changed files with 88 additions and 141 deletions

View File

@ -3,3 +3,43 @@
SUBDIRS = src
EXTRA_DIST = autogen.sh acinclude.m4
# The following is to install the documentation
# It is a bit lengthy because one cannot simply install whole directories (except copying them recursively -- which also takes the .svn directories...)
DOCDIRS = templates \
examples \
examples/data \
examples/ASlibs \
examples/ASlibs/data \
examples/ASlibs/profiles \
examples/BMWlibs \
examples/BMWlibs/data \
examples/BMWlibs/profiles \
html/user \
html/user/MUSR \
html/user/pub/Main/SmiliesPluginPSI \
html/user/pub/Main/WebPreferences \
html/user/pub/MUSR/LibFitPofB \
html/user/pub/MUSR/LibZFRelaxation \
html/user/pub/MUSR/Msr2Data \
html/user/pub/MUSR/MusrFit \
html/user/pub/MUSR/MusrGui \
html/user/pub/MUSR/QuickStart \
html/user/pub/MUSR/TutorialSingleHisto \
html/user/pub/System/DocumentGraphics \
html/user/pub/System/HeadlinesPlugin \
html/user/pub/System/PatternSkin \
html/user/pub/System/PatternSkinTheme2009 \
html/user/pub/System/PsiSkin \
html/user/pub/System/SkinTemplates
#html/technical
install-data-hook:
@$(NORMAL_INSTALL)
for DIR in $(DOCDIRS); do $(MKDIR_P) $(DOCDIR)/$$DIR; $(INSTALL_DATA) doc/$$DIR/*.* $(DOCDIR)/$$DIR; done
$(MKDIR_P) $(DOCDIR)/latex_images
$(INSTALL_DATA) src/musredit/latex_images/*.png $(DOCDIR)/latex_images
uninstall-hook:
@$(NORMAL_UNINSTALL)
rm -rf $(DOCDIR)