DEB_INSTALL_CHANGELOGS_ALL=CHANGELOG
binary-install/roundcube-core::
- # Remove plugins
- rm -rf $(CURDIR)/debian/roundcube-core/usr/share/roundcube/plugins
-
- # Symlink all that is in /usr/share/roundcube to /var/lib/roundcube
- find debian/roundcube-core/usr/share/roundcube -maxdepth 1 -mindepth 1 | \
- while read i; do \
- if [ ! -L "$$i" ]; then \
- dh_link -proundcube-core "`echo "$$i" | sed -e s#debian/roundcube-core/##`" \
- "`echo "$$i" | sed -e s#debian/roundcube-core/usr/share/roundcube/#var/lib/roundcube/#`"; \
- fi \
- done
# Install config files
install -m 0640 $(CURDIR)/config/db.inc.php.dist $(CURDIR)/debian/roundcube-core/etc/roundcube/db.inc.php
install -m 0640 $(CURDIR)/config/main.inc.php.dist $(CURDIR)/debian/roundcube-core/usr/share/roundcube