Skip to content

Commit

Permalink
Remove unused files in the "m2" directory
Browse files Browse the repository at this point in the history
  • Loading branch information
d-torrance committed May 25, 2024
1 parent f173a4b commit 903b237
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 1,267 deletions.
4 changes: 1 addition & 3 deletions M2/Macaulay2/m2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(M2_ARGS -q --silent --stop -e errorDepth=0 --no-preload --no-tvalues)
file(STRINGS loadsequence M2LIST)

###############################################################################
## Generate startup.m2, version.m2, and tvalues.m2 and copy the core to usr-dist
## Generate startup.m2 and tvalues.m2 and copy the core to usr-dist

## Configure startup.m2
configure_file(startup.m2.in startup.m2 @ONLY)
Expand All @@ -24,8 +24,6 @@ add_custom_command(OUTPUT ${CORE_DIR}/tvalues.m2
DEPENDS M2-binary
VERBATIM)

configure_file(version.m2.in ${M2_DIST_PREFIX}/${M2_INSTALL_DATADIR}/Core/version.m2 @ONLY)

foreach(filename IN LISTS M2LIST ITEMS
${CMAKE_CURRENT_BINARY_DIR}/startup.m2 Core.m2 loadsequence installedpackages)
file(COPY ${filename} DESTINATION ${CORE_DIR})
Expand Down
2 changes: 0 additions & 2 deletions M2/Macaulay2/m2/COPYRIGHT

This file was deleted.

6 changes: 2 additions & 4 deletions M2/Macaulay2/m2/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ DUMPEDM2DOCFILES := \
@srcdir@/../packages/Macaulay2Doc/functions/*.m2 \
@srcdir@/../packages/Macaulay2Doc/operators/*.m2 \
../packages/Macaulay2Doc.m2
OTHERM2FILES := sagbi.m2
############################## loadsequence
LOADSEQUENCE := $(shell cat @srcdir@/loadsequence)
DUMPEDM2FILES += $(LOADSEQUENCE)
DUMPEDM2SRCFILES += $(patsubst version.m2, version.m2.in, $(LOADSEQUENCE))
DUMPEDM2SRCFILES += $(LOADSEQUENCE)
############################## mpcodes.m2
ifdef MP
mpcodes.m2: ../../include/MP.h mpcodes.sed
Expand Down Expand Up @@ -56,7 +55,6 @@ clean::; rm -f TAGS @srcdir@/TAGS @srcdir@/TAGS.doc
@srcdir@/TAGS: \
$(DUMPEDM2SRCFILES) \
installedpackages \
$(OTHERM2FILES) \
$(shell @FIND@ @srcdir@/../packages -name "*.m2" -a -not -name .\#\* | sort) \
../editors/emacs/make-M2-emacs-help.m2 \
../editors/make-M2-symbols.m2 \
Expand Down Expand Up @@ -132,7 +130,7 @@ clean::; rm -f profile
FILES_TO_COPY := $(DUMPEDM2FILES) loadsequence installedpackages
all:@pre_packagesdir@ @pre_packagesdir@/Core $(addprefix @pre_packagesdir@/Core/, $(FILES_TO_COPY))
clean::; rm -rf cache *.obj *.exe runexample temp.data distfiles loads.m2 mpcodes.m2 core gmon.out
distclean: clean; rm -f Makefile version.m2
distclean: clean; rm -f Makefile
# Local Variables:
# compile-command: "make -C $M2BUILDDIR/Macaulay2/m2 "
# End:
Expand Down
16 changes: 0 additions & 16 deletions M2/Macaulay2/m2/macaulay1.m2

This file was deleted.

Loading

0 comments on commit 903b237

Please sign in to comment.