Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (44 sloc) 1.76 KB
# versioned installation directories
verpkglibdir = $(pkglibdir)/@VERSION@
verpkglibexecdir = $(libexecdir)/@PACKAGE@/@VERSION@
verpkgdatadir = $(pkgdatadir)/@VERSION@
docdir = $(verpkgdatadir)/doc
dochtmldir = $(docdir)/html
docsharedir = $(docdir)/share
demodir = $(verpkgdatadir)/demo
emacsdir = $(verpkgdatadir)/emacs
sharedir = $(verpkgdatadir)/share
instsrcdir = $(verpkgdatadir)/src
xmaximadir = $(verpkgdatadir)/xmaxima
insttestsdir = $(verpkgdatadir)/tests
# Support for installation of DATA files in a generic directory
# with subdirectories.
# To use, set genericdir to point to the installation directory.
# Set genericdirDATA to hold the list of files to install.
# genericdirDATA may contain subdirectories. Subdirectories will
# be created if necessary.
install-data-local: install-datafiles
install-datafiles: $(genericdirDATA)
$(mkinstalldirs) $(DESTDIR)$(genericdir)
@list='$(genericdirDATA)'; for p in $$list; do \
if test -f $(srcdir)/$$p; then \
if test ! -d `dirname $(DESTDIR)$(genericdir)/$$p`; then \
$(mkinstalldirs) `dirname $(DESTDIR)$(genericdir)/$$p`; \
fi; \
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(genericdir)/$$p"; \
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(genericdir)/$$p; \
else if test -f $$p; then \
if test ! -d `dirname $(DESTDIR)$(genericdir)/$$p`; then \
$(mkinstalldirs) `dirname $(DESTDIR)$(genericdir)/$$p`; \
fi; \
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(genericdir)/$$p"; \
$(INSTALL_DATA) $$p $(DESTDIR)$(genericdir)/$$p; \
fi; fi; \
uninstall-local: uninstall-datafiles
list='$(genericdirDATA)'; for p in $$list; do \
rm -f $(DESTDIR)$(genericdir)/$$p; \
Jump to Line
Something went wrong with that request. Please try again.