Update documentation for batch and batchload to say that an input stream is acceptable
[maxima/cygwin.git] / common.mk
blob6a36a96c53cd82247bd6ef02fd1dd228d36b6573
1 # versioned installation directories
3 verpkglibdir = $(pkglibdir)/@VERSION@
4 verpkglibexecdir = $(libexecdir)/@PACKAGE@/@VERSION@
5 verpkgdatadir = $(pkgdatadir)/@VERSION@
6 docdir = $(verpkgdatadir)/doc
7 docchmdir = $(docdir)/chm
8 dochtmldir = $(docdir)/html
9 docsharedir = $(docdir)/share
10 demodir = $(verpkgdatadir)/demo
11 emacsdir = $(EMACSDIR)
12 sharedir = $(verpkgdatadir)/share
13 instsrcdir = $(verpkgdatadir)/src
14 xmaximadir = $(verpkgdatadir)/xmaxima
15 insttestsdir = $(verpkgdatadir)/tests
17 # Support for installation of DATA files in a generic directory
18 # with subdirectories.
19 # To use, set genericdir to point to the installation directory.
20 # Set genericdirDATA to hold the list of files to install.
21 # genericdirDATA may contain subdirectories. Subdirectories will
22 # be created if necessary.
24 install-data-local: install-datafiles
25 install-datafiles: $(genericdirDATA)
26 @$(NORMAL_INSTALL)
27 $(mkinstalldirs) $(DESTDIR)$(genericdir)
28 @list='$(genericdirDATA)'; for p in $$list; do \
29 if test -f $(srcdir)/$$p; then \
30 if test ! -d `dirname $(DESTDIR)$(genericdir)/$$p`; then \
31 $(mkinstalldirs) `dirname $(DESTDIR)$(genericdir)/$$p`; \
32 fi; \
33 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(genericdir)/$$p"; \
34 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(genericdir)/$$p; \
35 else if test -f $$p; then \
36 if test ! -d `dirname $(DESTDIR)$(genericdir)/$$p`; then \
37 $(mkinstalldirs) `dirname $(DESTDIR)$(genericdir)/$$p`; \
38 fi; \
39 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(genericdir)/$$p"; \
40 $(INSTALL_DATA) $$p $(DESTDIR)$(genericdir)/$$p; \
41 fi; fi; \
42 done
44 uninstall-local: uninstall-datafiles
45 uninstall-datafiles:
46 @$(NORMAL_UNINSTALL)
47 list='$(genericdirDATA)'; for p in $$list; do \
48 rm -f $(DESTDIR)$(genericdir)/$$p; \
49 done