## Process this file with automake to produce Makefile.in include config/project.am RPMS = $(DEFAULT_RPMS) $(DEBUG_RPM) EXTRA_DIST = \ config/sipX-config.in \ config/sipX-buildstamp.cpp.in \ config/sipX-buildstamp.h.in \ config/svn-version \ config/Doxyfile.in \ CONTRIBUTORS \ SVN-VERSION \ BUILDSTAMP \ sipxcommserverlib.spec SUBDIRS = \ . \ src \ include \ etc \ meta \ bin \ $(doc_SUBDIRS) # The final commands edit an existing subscription.xml file to add the # "component", "accept", and "version" columns, if they are not already # present. In addition, they remove cached IMDB shared memory segments. # Those commands need to be retained until all developers are # upgraded, which will be at the end of the 3.9 development period. install-data-hook: $(INSTALL) -d -m 755 $(DESTDIR)$(sysconfdir)/sipxpbx $(INSTALL) -d -m 755 $(DESTDIR)$(datadir)/sipxpbx $(INSTALL) -d -m 755 $(DESTDIR)$(localstatedir)/log/sipxpbx $(INSTALL) -d -m 755 $(DESTDIR)$(localstatedir)/run/sipxpbx $(INSTALL) -d -m 755 $(DESTDIR)$(localstatedir)/sipxdata/tmp $(INSTALL) -d -m 755 $(DESTDIR)$(localstatedir)/sipxdata/sipdb SUBSCRIPTION=$(DESTDIR)$(localstatedir)/sipxdata/sipdb/subscription.xml ; \ if [ -f $$SUBSCRIPTION ] && \ ! grep '' $$SUBSCRIPTION >/dev/null ; then \ perl -i -pe 's%%statusapplication/simple-message-summary0%' $$SUBSCRIPTION ; \ rm -f $(DESTDIR)$(localstatedir)/sipxdata/tmp/imdb.* ; \ fi DISTCLEANFILES = \ $(CONFIG_DISTCLEANFILES)