Skip to content

Commit

Permalink
Insert GAP_VERSION into sysinfo.gap
Browse files Browse the repository at this point in the history
This is useful for package build systems which want to verify
the GAP version.
  • Loading branch information
fingolfin committed Nov 28, 2019
1 parent f67d98a commit f1f5dc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,7 @@ sysinfo.gap: config.status $(srcdir)/Makefile.rules cnf/GAP-CFLAGS cnf/GAP-CPPFL
@echo "GAP_ABI=$(ABI)" >> $@
@echo "GAP_HPCGAP=$(HPCGAP)" >> $@
@echo "" >> $@
@echo "GAP_VERSION=\"$(GAP_VERSION)\"" >> $@
@echo "GAP_KERNEL_MAJOR_VERSION=$(GAP_KERNEL_MAJOR_VERSION)" >> $@
@echo "GAP_KERNEL_MINOR_VERSION=$(GAP_KERNEL_MINOR_VERSION)" >> $@
@echo "" >> $@
Expand Down

0 comments on commit f1f5dc5

Please sign in to comment.