Properly build and install architecture independent files in / from the
source tree. Resolves bug 0000049. git-svn-id: http://yate.null.ro/svn/yate/trunk@1432 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
d977c126e6
commit
71a836c11e
|
@ -129,16 +129,16 @@ apidocs-doxygen: check-topdir
|
|||
echo "Executable doxygen is not installed!" ; exit 1 ; \
|
||||
fi
|
||||
|
||||
apidocs-build: check-topdir
|
||||
apidocs-build:
|
||||
@if [ -n "$(DOCGEN)" ]; then \
|
||||
$(DOCGEN) ; \
|
||||
cd @srcdir@ ; $(DOCGEN) ; \
|
||||
else \
|
||||
echo "Neither kdoc or doxygen is installed!" ; exit 1 ; \
|
||||
fi
|
||||
|
||||
apidocs: @srcdir@/docs/api/index.html
|
||||
|
||||
@srcdir@/docs/api/index.html: Doxyfile \
|
||||
@srcdir@/docs/api/index.html: @srcdir@/Doxyfile \
|
||||
@srcdir@/yateclass.h @srcdir@/yatemime.h @srcdir@/yatengine.h \
|
||||
@srcdir@/yatephone.h @srcdir@/yatecbase.h
|
||||
$(MAKE) apidocs-build
|
||||
|
|
|
@ -20,7 +20,7 @@ all:
|
|||
|
||||
.PHONY: install
|
||||
install:
|
||||
@mkdir -p "$(DESTDIR)$(scrdir)/" && \
|
||||
@cd @srcdir@ && mkdir -p "$(DESTDIR)$(scrdir)/" && \
|
||||
install -m 0644 $(SCRLIBS) "$(DESTDIR)$(scrdir)/" && \
|
||||
test -z "$(SCRIPTS)" || \
|
||||
install $(SCRIPTS) "$(DESTDIR)$(scrdir)/"
|
||||
|
|
Loading…
Reference in New Issue