Skip to content

Commit

Permalink
allow compilation of documentation without changelog files
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhei committed May 10, 2018
1 parent 539ffb2 commit 5a02516
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
aspect-files = $(shell echo ../include/aspect/*.h \
../include/aspect/*/*.h \
../include/aspect/*/*/*.h \
modules/*.h \
modules/changes/*)
modules/*.h)
aspect-manual-pix = $(shell find manual/cookbooks/ -name \*.png 2>/dev/null)

change-files = $(shell ls modules/changes)

aspect-prms = $(shell find manual/cookbooks/ -name \*.prm 2>/dev/null)
aspect-prms-out = $(aspect-prms:=.out)
Expand All @@ -32,14 +31,14 @@ all: aspect.tag manual.pdf
@for i in `seq 1 10`; do sed -i.bak 's/{\([^!]*\)!\([^!]*\)!\([^!]*\)!\([^}]*\)}/{\1!\2!\3\/\4}/' $@; rm $@.bak; done

# Generate changes.h from the bits in modules/changes/
modules/changes.h: modules/changes/* modules/create_changes.sh modules/current_changes_*
modules/changes.h: $(change-files) modules/create_changes.sh modules/current_changes_*
@cd modules && bash create_changes.sh

# build the documentation. see if we can download the latest
# deal.II deal.tag file generated by doxygen and if so
# use it to cross-reference the deal.II documentation from the
# aspect documentation
aspect.tag: $(aspect-files) modules/changes.h options.dox Makefile
aspect.tag: $(aspect-files) $(change-files) modules/changes.h options.dox Makefile
@if test ! -x "`which doxygen`" ; then \
echo "-----------------------------------------" ; \
echo "Can't find 'doxygen'." ; \
Expand Down

0 comments on commit 5a02516

Please sign in to comment.