postfix.sh for repeat compilers

This commit is contained in:
joonicks 2025-09-22 16:40:16 +02:00
parent fc915b62ba
commit 16e41aca86
3 changed files with 11 additions and 4 deletions

1
.gitignore vendored
View File

@ -42,3 +42,4 @@ src/y
src/z
randdata
test.conf
postfix.sh

View File

@ -1,6 +1,6 @@
#
# EnergyMech, IRC Bot software
# Copyright (c) 1997-2018 proton
# Copyright (c) 1997-2025 proton
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -86,12 +86,14 @@ clean:
install:
$(MAKE) -C src install
test -x postfix.sh && ./postfix.sh
mega:
$(MAKE) -C src mega
mega-install:
$(MAKE) -C src mega-install
test -x postfix.sh && ./postfix.sh
#
# code validation tests

10
configure vendored
View File

@ -1,7 +1,7 @@
#!/bin/sh
#
# EnergyMech, IRC Bot software
# Copyright (c) 1997-2018 proton
# Copyright (c) 1997-2025 proton
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -1566,10 +1566,14 @@ if [ ! "$cores" = 1 ]; then
$out "For speedy compiling, use \`\`make -j$cores''"
fi
$out ''
$out "Your chosen ./configure options have been saved to ./myconfig"
$out 'If you compile often and need to do repetitive extra operations after'
$out 'doing "make install", you can create "./postfix.sh" which will be executed'
$out 'after each "make install".'
$out ''
$out 'Your chosen ./configure options have been saved to ./myconfig'
$out 'if you wish to save ./myconfig in its current state, chmod -w ./myconfig'
$out ''
$out 'Submit your bugreports at https://github.com/MadCamel/energymech/issues'
$out 'Submit your bugreports at https://github.com/EnergyMech/energymech/issues'
$out ''
$out 'You have read the README file I hope?'
$out ''