## Process this file with automake to produce Makefile.in
VERSION = @VERSION@
SUBDIRS = src po
EXTRA_DIST = \
autogen.sh \
gproftpd.glade \
gproftpd.gladep
install-data-local:
@$(NORMAL_INSTALL)
if test -d $(srcdir)/pixmaps; then \
$(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/gproftpd; \
for pixmap in $(srcdir)/pixmaps/*; do \
if test -f $$pixmap; then \
$(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/gproftpd; \
fi \
done \
fi;
if test -d $(DESTDIR)$(datadir)/pixmaps; then \
cp pixmaps/gproftpd.png $(DESTDIR)$(datadir)/pixmaps/; \
fi;
if test -f $(DESTDIR)$(bindir)/consolehelper && test ! -f $(DESTDIR)$(bindir)/gproftpd; then \
ln -s $(DESTDIR)$(bindir)/consolehelper $(DESTDIR)$(bindir)/gproftpd; \
fi;
@echo "Failsafe for a mixed environment"
if test -f $(DESTDIR)/usr/local/bin/consolehelper && test ! -f $(DESTDIR)/usr/local/bin/gproftpd; then \
ln -s $(DESTDIR)/usr/local/bin/consolehelper $(DESTDIR)/usr/local/bin/gproftpd; \
fi;
if test -d $(DESTDIR)$(sysconfdir)/pam.d; then \
cp etc/pam.d/gproftpd $(DESTDIR)$(sysconfdir)/pam.d/; \
fi;
if test -d $(DESTDIR)$(sysconfdir)/security/console.apps; then \
cp etc/security/console.apps/gproftpd $(DESTDIR)$(sysconfdir)/security/console.apps/; \
fi;
if test -d $(DESTDIR)$(datadir)/applications; then \
cp desktop/net-gproftpd.desktop $(DESTDIR)$(datadir)/applications/; \
fi;
if test -d $(DESTDIR)$(datadir)/gnome/apps/Internet; then \
cp desktop/net-gproftpd.desktop $(DESTDIR)$(datadir)/gnome/apps/Internet/; \
fi;
if test ! -d $(DESTDIR)$(datadir)/doc/gproftpd; then \
$(mkinstalldirs) $(DESTDIR)$(datadir)/doc/gproftpd; \
cp AUTHORS $(DESTDIR)$(datadir)/doc/gproftpd/; \
cp README $(DESTDIR)$(datadir)/doc/gproftpd/; \
cp ChangeLog $(DESTDIR)$(datadir)/doc/gproftpd/; \
cp COPYING $(DESTDIR)$(datadir)/doc/gproftpd/; \
fi;
if test ! -d $(DESTDIR)$(sysconfdir)/gproftpd; then \
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gproftpd; \
fi;
if test ! -d $(DESTDIR)$(sysconfdir)/gproftpd; then \
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gproftpd; \
fi;
if test ! -f $(DESTDIR)$(sysconfdir)/gproftpd/gproftpd.pem; then \
cp etc/gproftpd/gproftpd.pem $(DESTDIR)$(sysconfdir)/gproftpd/; \
chmod 0600 $(DESTDIR)$(sysconfdir)/gproftpd/gproftpd.pem; \
fi;
if test ! -f $(DESTDIR)$(sysconfdir)/gproftpd/gprotls.conf; then \
cp etc/gproftpd/gprotls.conf $(DESTDIR)$(sysconfdir)/gproftpd/; \
chmod 0600 $(DESTDIR)$(sysconfdir)/gproftpd/gprotls.conf; \
fi;
@echo ""
@echo "Start GProFTPD by typing gproftpd in a terminal"
@echo "or start it from the menu."
@echo ""
@echo "Send bugreports, comments or questions to magnus-swe@telia.com"
@echo ""
dist-hook:
if test -d pixmaps; then \
mkdir $(DESTDIR)$(distdir)/pixmaps; \
for pixmap in pixmaps/*; do \
if test -f $$pixmap; then \
cp -p $$pixmap $(DESTDIR)$(distdir)/pixmaps; \
fi \
done \
fi
syntax highlighted by Code2HTML, v. 0.9.1