1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2024-12-03 14:45:09 +00:00
notnotdnethack/LICENSE
Ron Nazarov 5aee2f8915 Add script used to generate macromagic.h
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/dNethack/dNetHack/g.
-Update wiki link to point at the actual dNetHack page rather than the
 one in Chris's user namespace which is now a redirect.
-Fix apt install commands and command for launching dNetHack in wizard
 mode (-d -> -D).
-Remove mention of ascension.run (it no longer exists).
-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 "dNetHack" in #versionext.
2024-04-14 16:42:47 -04:00

Symbolic link
1 line
No EOL
11 B
Text