forked from Singular/Singular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
33 lines (25 loc) · 953 Bytes
/
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
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\
(cat ${top_srcdir}/doc/doc.tbz2| (cd $(DESTDIR)$(datadir)/singular; tar -jx --no-same-owner -f -));\
mkdir $(DESTDIR)$(datadir)/info;\
mkdir $(DESTDIR)$(datadir)/doc;\
mv $(DESTDIR)$(datadir)/singular/singular.hlp $(DESTDIR)$(datadir)/info/.;\
fi
uninstall-local:
-(cd $(DESTDIR)$(datadir); rm -rf singular info/singular.hlp)
configheaderdir = ${includedir}/singular
nodist_configheader_HEADERS = singularconfig.h
DISTCLEANFILES = $(nodist_configheader_HEADERS)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = Singular.pc