You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
2.0 KiB
Markdown

3 years ago
# Nonviolent Public License Builder v7
The Nonviolent Public License builder project provides 4 licenses generated from a common template.
- NPL - Nonviolent Public License
- CNPL - Cooperative Nonviolent Public License
- NPL-NA - Nonviolent Public License No Attributions
- CNPL-NA - Cooperative Nonviolent Public License No Attributions
License information and summary of purpose here: https://thufie.lain.haus/NPL.html
Please use the "+" at the end of the license URI (like: CNPL-NAv7+) to allow future license revisions to apply.
These licenses are based off of the [CSL](https://lynnesbian.space/csl/formatted/) (Cooperative Software License) which is not actually just for software.
Use this license header in your source files if you want:
```
// Copyright (C) 2021 (Author) <email>
// This file is part of project.
//
// project is non-violent software: you can use, redistribute,
// and/or modify it under the terms of the CNPLv7+ as found
// in the LICENSE file in the source code root directory or
// at <https://git.pixie.town/thufie/CNPL>.
//
// project comes with ABSOLUTELY NO WARRANTY, to the extent
// permitted by applicable law. See the CNPL for details.
```
## Contributing:
- Only make or propose edits to the license text in template.xml
- Changes that are not common among license have some special formatting requirements. Check the output of `make` to ensure everything is removed from the licenses it does not apply to.
- If a change only applies to the CNPL or CNPL-NA use the "restriction-cooperative" role attribute
- If a change only applies to the CNPL or NPL (or in other words, it has to do with requiring attributions) use the "restriction-attribution" role attribute.
- When in doubt, make a bug report and I will be glad to help!
## Dependencies:
- `pandoc` - for converting from docbook5 xml to markdown
- `xmlstarlet` - provides the `xml` binary
- `make`
## Example Usage:
- `make all` - (re)generate all license markdown files from template.xml