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:
paulc 2007-08-23 11:12:50 +00:00
parent d977c126e6
commit 71a836c11e
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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)/"