forked from Singular/Singular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
37 lines (29 loc) · 1.21 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = resources omalloc factory \
libpolys gfanlib IntegerProgramming \
kernel Singular \
dox emacs redhat desktop
DIST_SUBDIRS = $(SUBDIRS) doc
if ENABLE_DOC_BUILD
SUBDIRS += doc
endif
EXTRA_DIST = README README.md README.pkg autogen.sh doxy redhat/singular.spec.in GPL2 GPL3
bin_SCRIPTS = libsingular-config
install-data-local:
if test -e $(srcdir)/doc/doc.tbz2; then\
test -e $(DESTDIR)$(datadir) || mkdir -p $(DESTDIR)$(datadir);\
test -e $(DESTDIR)$(datadir)/info || mkdir $(DESTDIR)$(datadir)/info;\
test -e $(DESTDIR)$(datadir)/singular || mkdir $(DESTDIR)$(datadir)/singular;\
test -e $(DESTDIR)$(htmldir) || mkdir -p $(DESTDIR)$(htmldir);\
(cat ${top_srcdir}/doc/doc.tbz2| (cd $(DESTDIR)$(htmldir);tar -jx --no-same-owner -f -));\
mv $(DESTDIR)$(htmldir)/singular.info $(DESTDIR)$(datadir)/info/.;\
mv $(DESTDIR)$(htmldir)/singular.idx $(DESTDIR)$(datadir)/singular/.;\
fi
uninstall-local:
-(cd $(datadir); rm -rf singular info/singular.info)
-rm -rf $(htmldir)
configheaderdir = ${includedir}/singular
nodist_configheader_HEADERS = singularconfig.h
DISTCLEANFILES = $(nodist_configheader_HEADERS)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = Singular.pc