mirror of https://github.com/getdnsapi/getdns.git
brought doc directory into build process ("make doc")
This commit is contained in:
parent
7a361f53a4
commit
3e0411f8f8
|
@ -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
|
||||
|
|
|
@ -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)
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue