brought doc directory into build process ("make doc")

This commit is contained in:
Melinda Shore 2013-11-21 17:39:03 -08:00
parent 7a361f53a4
commit 3e0411f8f8
3 changed files with 45 additions and 2 deletions

View File

@ -20,8 +20,12 @@ default:
all : default
doc:
cd doc && $(MAKE) $@
clean:
cd src && $(MAKE) $@
cd doc && $(MAKE) $@
rm -f *.o
distclean:
@ -78,4 +82,4 @@ Makefile: Makefile.in config.status
configure.status: configure
./config.status --recheck
.PHONY: all distclean clean default
.PHONY: all distclean clean default doc

39
doc/Makefile.in Normal file
View File

@ -0,0 +1,39 @@
#
# @configure_input@
#
package = @PACKAGE_NAME@
version = @PACKAGE_VERSION@
tarname = @PACKAGE_TARNAME@
distdir = $(tarname)-$(version)
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
srcdir = @srcdir@
VPATH = @srcdir@
DOCDIRS = html latex man
default: all
all: doc
doc:
cd ../src && doxygen
clean:
rm -rf $(DOCDIRS)
distclean : clean
rm -f Makefile config.status config.log
rm -Rf autom4te.cache
Makefile: Makefile.in ../config.status
cd .. && ./config.status $@
configure.status: configure
cd .. && ./config.status --recheck
.PHONY: clean $(DOC)

View File

@ -42,7 +42,7 @@ clean:
distclean : clean
cd test && $(MAKE) $@
cd example && $(MAKE) $@
rm -f Makefile config.status config.log
rm -f Makefile config.status config.log Doxyfile
rm -Rf autom4te.cache
$(distdir): FORCE