Am Mittwoch, 19. September 2012, 16:10:58 schrieb Ralph Lange:
> does anyone have EPICS build rules for running doxygen and installing
> the created docs at the appropriate places?!
>
> Thanks for sharing!
Ha, let's do some in-house sharing!
Take a look at the csm module:
http://www-csr.bessy.de/control/SoftDist/csm/
I extracted the following from the latest version, hopefully it's at least
complete, if not beautiful ;-(
configure/CONFIG
----------------
# find out name of ...App dir
DOC_APPDIR := $(subst /O.$(T_A),,$(subst $(shell cd $(TOP); /bin/pwd)/,,
$(shell /bin/pwd)))
INSTALL_DOC := $(INSTALL_LOCATION)/html/$(DOC_APPDIR)
Makefile
--------
DOCS += html latex man
$(COMMON_DIR)/%: csmbase.c ../Doxyfile.external
rm -rf $@
mkdir $@
(echo "OUTPUT_DIRECTORY=$(COMMON_DIR)"; echo "INPUT=.."; echo QUIET=YES) |
cat ../Doxyfile.external - | doxygen -
$(INSTALL_DOC)/%: $(COMMON_DIR)/%
@echo "Installing doc $@"
test -d $(INSTALL_DOC) || mkdir -p $(INSTALL_DOC)
cp -r $< $(INSTALL_DOC)
Cheers
--
Ben Franksen
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
________________________________
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
http://www.helmholtz-berlin.de
- Replies:
- Re: Doxygen and EPICS build system Ralph Lange
- References:
- Doxygen and EPICS build system Ralph Lange
- Navigate by Date:
- Prev:
Re: BPM screens Pete R. Jemian
- Next:
Re: Doxygen and EPICS build system Ralph Lange
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Doxygen and EPICS build system Andrew Johnson
- Next:
Re: Doxygen and EPICS build system Ralph Lange
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|