mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2024-11-13 21:06:23 +00:00
Ron Nazarov
73934ec163
Taken from Nero's gist: https://gist.github.com/NeroOneTrueKing/384ce9faa3374f8d0b2ebf1ccc0ed222 with some minor modifications: -Filenames are taken from sys.argv instead of being hardcoded, with different defaults to match where the files are in the repo. -Extra newline in generated output removed so it generates output identical to the current include/macromagic.h. -License notice included in the file as a comment. Support for building macromagic.h is added to the GNUmakefile, but macromagic.h is still included so Python doesn't become a build dependency unless you modify util/MacroMagicMarker.h or doc/macromagic.txt. The NetHack General Public License requires that "complete machine-readable source code" be provided. Although the NGPL doesn't define this as clearly as later versions of the GNU GPL, I believe files used to generate other parts of the source code (such as MacroMagicMarker.py or makedefs) count as source code. Therefore, not distributing MacroMagicMarker.py was violating the NGPL. That is now fixed. Also: Update README: -Mention how to force a rebuild of include/macromagic.h. -s/notdNethack/notdNetHack/g. -Fix apt install commands and command for launching notdNetHack in wizard mode (-d -> -D). -Add copyright section with licensing information. Add LICENSE -> dat/license symlink. Maybe this will make stuff like GitHub autodetect the license properly. Change "NetHack" to "notdNetHack" in #versionext.
Symbolic link
1 line
No EOL
11 B
Text
Symbolic link
1 line
No EOL
11 B
Text
dat/license |