source: git/Makefile.am

spielwiese
Last change on this file was cba9b3, checked in by Hans Schoenemann <hannes@…>, 7 months ago
apapt to --htmdir option to configure, build a different doc.tbz2
  • Property mode set to 100644
File size: 1.2 KB
Line 
1ACLOCAL_AMFLAGS = -I m4
2
3SUBDIRS = resources omalloc factory \
4libpolys gfanlib IntegerProgramming \
5kernel Singular \
6dox emacs redhat desktop
7
8DIST_SUBDIRS = $(SUBDIRS) doc
9if ENABLE_DOC_BUILD
10SUBDIRS += doc
11endif
12
13EXTRA_DIST = README README.md README.pkg autogen.sh doxy redhat/singular.spec.in GPL2 GPL3
14
15bin_SCRIPTS = libsingular-config
16
17install-data-local:
18        if test -e $(srcdir)/doc/doc.tbz2; then\
19           test -e $(DESTDIR)$(datadir) || mkdir -p $(DESTDIR)$(datadir);\
20           test -e $(DESTDIR)$(datadir)/info || mkdir $(DESTDIR)$(datadir)/info;\
21           test -e $(DESTDIR)$(datadir)/singular || mkdir $(DESTDIR)$(datadir)/singular;\
22           test -e $(DESTDIR)$(htmldir) || mkdir -p $(DESTDIR)$(htmldir);\
23           (cat ${top_srcdir}/doc/doc.tbz2| (cd $(DESTDIR)$(htmldir);tar -jx --no-same-owner -f -));\
24           mv  $(DESTDIR)$(htmldir)/singular.info  $(DESTDIR)$(datadir)/info/.;\
25           mv  $(DESTDIR)$(htmldir)/singular.idx  $(DESTDIR)$(datadir)/singular/.;\
26        fi
27
28uninstall-local:
29        -(cd $(DESTDIR)$(datadir); rm -rf singular info/singular.info)
30
31configheaderdir = ${includedir}/singular
32nodist_configheader_HEADERS = singularconfig.h
33DISTCLEANFILES = $(nodist_configheader_HEADERS)
34
35pkgconfigdir = $(libdir)/pkgconfig
36pkgconfig_DATA = Singular.pc
Note: See TracBrowser for help on using the repository browser.