diff --git a/Makefile.in b/Makefile.in index 46414b06..34b7e62d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -98,7 +98,7 @@ clean-tables: check-topdir $(MAKE) -C ./tables -f Makefile.tables mrproper clean-apidocs: check-topdir - -rm docs/api/*.html docs/api/*.png + -rm docs/api/*.* distclean: check-topdir clean clean-config-files diff --git a/configure.in b/configure.in index eb18337d..cc357551 100644 --- a/configure.in +++ b/configure.in @@ -664,6 +664,7 @@ AC_CONFIG_FILES([yate.spec engine/Makefile modules/Makefile modules/skin/Makefile + modules/help/Makefile clients/Makefile scripts/Makefile conf.d/Makefile diff --git a/docs/api/.cvsignore b/docs/api/.cvsignore index 3407310f..8a35d187 100644 --- a/docs/api/.cvsignore +++ b/docs/api/.cvsignore @@ -1,6 +1,3 @@ core* -*.html -*.png -*.orig +*.* *~ -.*.swp diff --git a/modules/Makefile.in b/modules/Makefile.in index ff60b791..e11cc0a2 100644 --- a/modules/Makefile.in +++ b/modules/Makefile.in @@ -18,7 +18,7 @@ MODRELAX:= @MODULE_LDRELAX@ MODSTRIP:= @MODULE_SYMBOLS@ INCFILES := @top_srcdir@/yateclass.h @top_srcdir@/yatengine.h @top_srcdir@/yatephone.h ../yateversn.h -SUBDIRS := skin gtk2 +SUBDIRS := skin help gtk2 MKDEPS := ../config.status PROGS := cdrbuild.yate cdrfile.yate \ regexroute.yate regfile.yate accfile.yate register.yate \ diff --git a/modules/help/.cvsignore b/modules/help/.cvsignore new file mode 100644 index 00000000..6f7092ac --- /dev/null +++ b/modules/help/.cvsignore @@ -0,0 +1,6 @@ +Makefile +.xvpics +core* +*.orig +*~ +.*.swp diff --git a/modules/help/Makefile.in b/modules/help/Makefile.in new file mode 100644 index 00000000..3df6d2ba --- /dev/null +++ b/modules/help/Makefile.in @@ -0,0 +1,36 @@ +# Makefile +# This file holds the make rules for the Telephony Engine modules + +# override DESTDIR at install time to prefix the install directory +DESTDIR := + +# override DEBUG at compile time to enable full debug or remove it all +DEBUG := + +SUBDIRS := gtk2 +MKDEPS := ../../config.status + +basedir = @libdir@/yate +prefix = @prefix@ +exec_prefix = @exec_prefix@ +moddir = $(basedir)/modules +helpdir = $(moddir)/help + +.PHONY: all clean install uninstall +all clean: + +install: + @lst="`cd @srcdir@; ls -1 -d *.yhlp`" ; \ + mkdir -p "$(DESTDIR)$(helpdir)/" && \ + for i in $$lst ; do \ + install -D -m 0644 "@srcdir@/$$i" "$(DESTDIR)$(helpdir)/$$i" ; \ + done; + +uninstall: + @-rm "$(DESTDIR)$(helpdir)/"*.yhlp + @-rmdir "$(DESTDIR)$(helpdir)" + @-rmdir "$(DESTDIR)$(moddir)" + @-rmdir "$(DESTDIR)$(basedir)" + +Makefile: @srcdir@/Makefile.in $(MKDEPS) + cd ../.. && ./config.status diff --git a/yate.spec.in b/yate.spec.in index e159cf4f..cbc52ec7 100644 --- a/yate.spec.in +++ b/yate.spec.in @@ -58,6 +58,8 @@ The yate-client package includes the files needed to use YATE as a VoIP client /usr/bin/yate-gtk2 %dir /usr/lib/yate/modules/skin /usr/lib/yate/modules/skin/* +%dir /usr/lib/yate/modules/help +/usr/lib/yate/modules/help/* %dir /usr/lib/yate/modules/gtk2 /usr/lib/yate/modules/gtk2/*