-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
34 lines (24 loc) · 1 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
ACLOCAL_AMFLAGS = -I m4
if ENABLE_FACTORY
USE_FACTORY = factory
endif
SUBDIRS = resources omalloc $(USE_FACTORY) \
libpolys gfanlib IntegerProgramming \
kernel Singular \
dox emacs redhat desktop
EXTRA_DIST = README README.md README.pkg autogen.sh git-version-gen doxy redhat/singular.spec.in GPL2 GPL3 doc/doc.tbz2
bin_SCRIPTS = libsingular-config
dist-hook:
$(srcdir)/git-version-gen $(srcdir)/.tarball-git-version > $(distdir)/.tarball-git-version
install-data-local:
-cat ${top_srcdir}/doc/doc.tbz2| (cd $(DESTDIR)$(datadir)/singular; tar jxf -)
-mkdir $(DESTDIR)$(datadir)/info
-mv $(DESTDIR)$(datadir)/singular/singular.hlp $(DESTDIR)$(datadir)/info/.
uninstall-local:
-(cd $(DESTDIR)$(datadir); rm -rf singular info/singular.hlp)
configheaderdir = ${includedir}/singular
nodist_configheader_HEADERS = singularconfig.h
DISTCLEANFILES = $(nodist_configheader_HEADERS)
dist_man1_MANS = doc/Singular.man doc/ESingular.man doc/TSingular.man
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = Singular.pc