1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
## Process this file with automake to produce Makefile.in
VERSION = @VERSION@
SUBDIRS = src po
EXTRA_DIST = \
autogen.sh
install-data-local:
@$(NORMAL_INSTALL)
if test -d $(srcdir)/pixmaps; then \
$(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/gbindadmin; \
for pixmap in $(srcdir)/pixmaps/*; do \
if test -f $$pixmap; then \
$(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/gbindadmin; \
fi \
done \
fi;
if test -d $(DESTDIR)$(datadir)/pixmaps; then \
cp pixmaps/gbindadmin.png $(DESTDIR)$(datadir)/pixmaps/; \
fi;
if test -f $(DESTDIR)$(bindir)/consolehelper && test ! -f $(DESTDIR)$(bindir)/gbindadmin; then \
ln -s $(DESTDIR)$(bindir)/consolehelper $(DESTDIR)$(bindir)/gbindadmin; \
fi;
if test -d $(DESTDIR)$(sysconfdir)/pam.d; then \
cp etc/pam.d/gbindadmin $(DESTDIR)$(sysconfdir)/pam.d/; \
fi;
if test -d $(DESTDIR)$(sysconfdir)/security/console.apps; then \
cp etc/security/console.apps/gbindadmin $(DESTDIR)$(sysconfdir)/security/console.apps/; \
fi;
if test -d $(DESTDIR)$(datadir)/applications; then \
cp desktop/net-gbindadmin.desktop $(DESTDIR)$(datadir)/applications/; \
fi ;
if test ! -d $(DESTDIR)$(datadir)/doc/gbindadmin; then \
$(mkinstalldirs) $(DESTDIR)$(datadir)/doc/gbindadmin; \
fi;
if test -d $(DESTDIR)$(datadir)/doc/gbindadmin; then \
cp AUTHORS $(DESTDIR)$(datadir)/doc/gbindadmin/; \
cp README $(DESTDIR)$(datadir)/doc/gbindadmin/; \
cp ChangeLog $(DESTDIR)$(datadir)/doc/gbindadmin/; \
cp COPYING $(DESTDIR)$(datadir)/doc/gbindadmin/; \
fi;
@echo ""
@echo "Start GBINDADMIN by typing gbindadmin 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
|