Pau Espin Pedrol | 814882b | 2019-03-19 18:10:55 +0100 | [diff] [blame] | 1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ |
| 2 | Upstream-Name: osmo-sysmon |
| 3 | Source: git://git.osmocom.org/osmo-sysmon |
| 4 | |
| 5 | Files: * |
| 6 | Copyright: 2019 sysmocom s.f.m.c. GmbH <info@sysmocom.de> |
| 7 | License: GPL-2.0+ |
| 8 | This program is free software; you can redistribute it and/or modify |
| 9 | it under the terms of the GNU General Public License as published by |
| 10 | the Free Software Foundation; either version 2 of the License, or |
| 11 | (at your option) any later version. |
| 12 | . |
| 13 | This program is distributed in the hope that it will be useful, |
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | GNU General Public License for more details. |
| 17 | . |
| 18 | You should have received a copy of the GNU General Public License along |
| 19 | with this program; if not, write to the Free Software Foundation, Inc., |
| 20 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 21 | . |
| 22 | On Debian systems, the complete text of the GNU General Public License |
| 23 | Version 2 can be found in `/usr/share/common-licenses/GPL-2'. |
| 24 | |
| 25 | Files: git-version-gen |
| 26 | Copyright: 2007-2010 Free Software Foundation, Inc. |
| 27 | License: GPL-3.0+ |
| 28 | This program is free software: you can redistribute it and/or modify |
| 29 | it under the terms of the GNU General Public License as published by |
| 30 | the Free Software Foundation; either version 3 of the License, or |
| 31 | (at your option) any later version. |
| 32 | . |
| 33 | This program is distributed in the hope that it will be useful, |
| 34 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 35 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 36 | GNU General Public License for more details. |
| 37 | . |
| 38 | You should have received a copy of the GNU General Public License |
| 39 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 40 | . |
| 41 | This script is derived from GIT-VERSION-GEN from GIT: http://git.or.cz/. |
| 42 | It may be run two ways: |
| 43 | - from a git repository in which the "git describe" command below |
| 44 | produces useful output (thus requiring at least one signed tag) |
| 45 | - from a non-git-repo directory containing a .tarball-version file, which |
| 46 | presumes this script is invoked like "./git-version-gen .tarball-version". |
| 47 | . |
| 48 | In order to use intra-version strings in your project, you will need two |
| 49 | separate generated version string files: |
| 50 | . |
| 51 | .tarball-version - present only in a distribution tarball, and not in |
| 52 | a checked-out repository. Created with contents that were learned at |
| 53 | the last time autoconf was run, and used by git-version-gen. Must not |
| 54 | be present in either $(srcdir) or $(builddir) for git-version-gen to |
| 55 | give accurate answers during normal development with a checked out tree, |
| 56 | but must be present in a tarball when there is no version control system. |
| 57 | Therefore, it cannot be used in any dependencies. GNUmakefile has |
| 58 | hooks to force a reconfigure at distribution time to get the value |
| 59 | correct, without penalizing normal development with extra reconfigures. |
| 60 | . |
| 61 | .version - present in a checked-out repository and in a distribution |
| 62 | tarball. Usable in dependencies, particularly for files that don't |
| 63 | want to depend on config.h but do want to track version changes. |
| 64 | Delete this file prior to any autoconf run where you want to rebuild |
| 65 | files to pick up a version string change; and leave it stale to |
| 66 | minimize rebuild time after unrelated changes to configure sources. |
| 67 | . |
| 68 | It is probably wise to add these two files to .gitignore, so that you |
| 69 | don't accidentally commit either generated file. |
| 70 | . |
| 71 | Use the following line in your configure.ac, so that $(VERSION) will |
| 72 | automatically be up-to-date each time configure is run (and note that |
| 73 | since configure.ac no longer includes a version string, Makefile rules |
| 74 | should not depend on configure.ac for version updates). |
| 75 | . |
| 76 | On Debian systems, the complete text of the GNU General Public License |
| 77 | Version 3 can be found in `/usr/share/common-licenses/GPL-3'. |