2
0

Makefile.am 1008 B

12345678910111213141516171819202122232425262728293031
  1. MAINTAINERCLEANFILES = Makefile.in
  2. CONFFILES = logger.xml dirlayout.xml
  3. if UNIMRCP_CLIENT_LIB
  4. CONFFILES += unimrcpclient.xml unimrcpclient.xsd
  5. endif
  6. if UNIMRCP_SERVER_LIB
  7. CONFFILES += unimrcpserver.xml unimrcpserver.xsd
  8. endif
  9. if UMC
  10. CONFFILES += umcscenarios.xml
  11. endif
  12. def-conf:
  13. test -d $(DESTDIR)$(sysconfdir) || $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
  14. for conffile in $(CONFFILES) ; do \
  15. $(INSTALL) -m 644 $(top_srcdir)/conf/$$conffile $(DESTDIR)$(sysconfdir); \
  16. done
  17. if UNIMRCP_CLIENT_LIB
  18. test -d $(DESTDIR)$(sysconfdir)/client-profiles || $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/client-profiles
  19. for conffile in `find $(top_srcdir)/conf/client-profiles/ -maxdepth 1 -name \*.xml -o -name \*.xsd` ; do \
  20. filename=`echo $$conffile | sed -e 's|^.*/||'`; \
  21. $(INSTALL) -m 644 $(top_srcdir)/conf/client-profiles/$$filename $(DESTDIR)$(sysconfdir)/client-profiles; \
  22. done
  23. endif
  24. install-data-local:
  25. test -d $(DESTDIR)$(sysconfdir) || $(MAKE) def-conf