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
|
## Process this file with automake to produce Makefile.in
SUBDIRS = src po
EXTRA_DIST = \
autogen.sh \
hspell-gui-0.2.2-0.spec \
hspell-applet.server.in.in\
hspell_gui.glade \
hspell_gui.gladep \
hspell-gui-heb
install-data-local: hspell-applet.server
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(libdir)/bonobo/servers; \
$(INSTALL_DATA) hspell-applet.server $(DESTDIR)$(libdir)/bonobo/servers; \
chmod ugo+wr hspell-applet.server; \
$(INSTALL_DATA) hspell-gui-heb $(DESTDIR)$(bindir);
chmod ugo+rx $(DESTDIR)$(bindir)/hspell-gui-heb;
if test -d $(srcdir)/pixmaps; then \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/pixmaps; \
for pixmap in $(srcdir)/pixmaps/*; do \
if test -f $$pixmap; then \
$(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgdatadir)/pixmaps; \
fi \
done \
fi
dist-hook:
if test -d pixmaps; then \
mkdir $(distdir)/pixmaps; \
for pixmap in pixmaps/*; do \
if test -f $$pixmap; then \
cp -p $$pixmap $(distdir)/pixmaps; \
fi \
done \
fi
serverdir = $(libdir)/bonobo/servers
server_in_files = hspell-applet.server.in.in
hspell-applet.server:
sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" hspell-applet.server.in.in > hspell-applet.server
|