2003-02-19 08:19:51 +00:00
|
|
|
spooldir = @localstatedir@/spool/capisuite
|
|
|
|
pkgsysconfdir = @sysconfdir@/capisuite
|
|
|
|
|
2013-08-14 08:34:48 +00:00
|
|
|
dist_pkgdata_DATA = idle.py incoming.py README
|
2012-03-07 09:57:02 +00:00
|
|
|
pkgpython_PYTHON = helpers.py
|
|
|
|
EXTRA_DIST = helpers.pyin fax.confin answering_machine.confin capisuitefax.in
|
2003-02-19 08:19:51 +00:00
|
|
|
|
|
|
|
pkgsysconf_DATA = fax.conf answering_machine.conf
|
|
|
|
|
2013-05-25 08:55:22 +00:00
|
|
|
bin_SCRIPTS = capisuitefax capisuite-checkconfig
|
2003-02-19 08:19:51 +00:00
|
|
|
|
|
|
|
SUBDIRS = waves
|
|
|
|
|
2013-05-25 08:55:22 +00:00
|
|
|
capisuite-checkconfig: capisuite-checkconfig.in
|
|
|
|
rm -f $@
|
|
|
|
sed 's,@\pkgsysconfdir@,$(pkgsysconfdir),g' $< >$@
|
|
|
|
chmod 755 $@
|
|
|
|
|
2003-03-20 12:05:30 +00:00
|
|
|
capisuitefax: capisuitefax.in
|
|
|
|
rm -f $@
|
2004-12-30 17:44:01 +00:00
|
|
|
sed 's,@\PYTHON@,$(PYTHON),g' $< >$@
|
2003-03-20 12:05:30 +00:00
|
|
|
chmod 755 $@
|
|
|
|
|
2003-02-19 08:19:51 +00:00
|
|
|
.pyin.py:
|
|
|
|
rm -f $@
|
2005-01-06 22:56:20 +00:00
|
|
|
sed 's,@sfftobmp_major_version\@,$(sfftobmp_major_version),g' $< >$@
|
2003-02-19 08:19:51 +00:00
|
|
|
|
|
|
|
.confin.conf:
|
|
|
|
rm -f $@
|
|
|
|
sed -e 's,@pkgdatadir\@,$(pkgdatadir),g' \
|
|
|
|
-e 's,@spooldir\@,$(spooldir),g' $< >$@
|
|
|
|
|
|
|
|
uninstall-hook:
|
|
|
|
-rmdir $(DESTDIR)$(pkglibdir)
|
|
|
|
-rmdir $(DESTDIR)$(spooldir)/sendq $(DESTDIR)$(spooldir)/done \
|
|
|
|
$(DESTDIR)$(spooldir)/failed $(DESTDIR)$(spooldir)/users $(DESTDIR)$(spooldir)
|
|
|
|
|
|
|
|
install-exec-hook:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(spooldir)/sendq
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(spooldir)/done
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(spooldir)/failed
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(spooldir)/users
|
|
|
|
|
|
|
|
clean-local:
|
2012-03-07 09:57:02 +00:00
|
|
|
rm -f helpers.py
|
2003-02-19 08:19:51 +00:00
|
|
|
rm -f fax.conf answering_machine.conf
|
|
|
|
|