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 60 61 62 63 64
|
## Process this file with automake to produce Makefile.in
SUBDIRS = intl m4 m4 intl po src doc test
pkgdocdir = $(DESTDIR)$(datadir)/doc/$(PACKAGE)
install-data-local:
@$(NORMAL_INSTALL)
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
if test ! -d $(DESTDIR)$(datadir)/doc; then \
mkdir $(DESTDIR)$(datadir)/doc ; \
fi; \
if test ! -d $(pkgdocdir); then \
mkdir $(pkgdocdir); \
fi; \
$(INSTALL_DATA) $(srcdir)/ChangeLog $(pkgdocdir)/changelog; \
gzip -f -9 $(pkgdocdir)/changelog; \
$(INSTALL_DATA) $(srcdir)/COPYING $(pkgdocdir)/copyright; \
gzip -f -9 $(pkgdocdir)/copyright
if test -d $(srcdir)/test; then \
$(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/test; \
for test_file in $(srcdir)/test/*.xl; do \
if test -f $$test_file; then \
$(INSTALL_DATA) $$test_file $(pkgdocdir)/test; \
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 ; \
if test -d test; then \
$(mkinstalldirs) $(distdir)/test; \
for test_file in test/*.xl; do \
if test -f $$test_file; then \
cp -p $$test_file $(distdir)/test; \
fi \
done \
fi
uninstall-local:
@$(NORMAL_UNINSTALL)
rm -f $(pkgdocdir)/copyright.gz; \
rm -f $(pkgdocdir)/changelog.gz; \
rm -rf $(pkgdocdir)/test
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = config.rpath mkinstalldirs config.rpath mkinstalldirs
|