redmine

copyright fix; removed dependency of ".git" in GNUmakefile

... ... @@ -21,6 +21,7 @@ from/*
to/*
.clsync-list.*
debian/clsync
debian/clsync/*
debian/clsync.debhelper.log
debian/clsync.substvars
example/rules
... ...
... ... @@ -37,7 +37,7 @@ onoldsystem: updaterevision
$(CC) $(OLDSYSTEMCFLAGS) $(CFLAGS) $(INC) $(LDFLAGS) *.c -o $(binary)
updaterevision:
(echo -n '#define REVISION '; git log | grep -c ^commit) > revision.h
(echo -n '#define REVISION "'; [ -d .git ] && (echo -n '.'; git log 2>/dev/null | grep -c ^commit | tr -d "\n") || echo -n '-release'; echo '"') > revision.h
touch main.c
clean:
... ... @@ -58,4 +58,3 @@ dpkg: clean
tar --exclude "debian" --exclude-vcs -C .. -cJvf ../clsync_0.0.orig.tar.xz clsync
dpkg-buildpackage -rfakeroot
... ...
This diff is collapsed. Click to expand it.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: clsync
Source: <url://example.com>
Source: <git://git.mephi.ru/clsync>
Files: *
Copyright: 2013 Dmitry Yu Okunev <dyokunev@ut.mephi.ru> 0x8E30679C
... ... @@ -627,28 +627,3 @@ License: GPLv3
END OF TERMS AND CONDITIONS
# If you want to use GPL v2 or later for the /debian/* files use
# the following clauses, or change it to suit. Delete these two lines
Files: debian/*
Copyright: 2013 Xaionaro <xai@mephi.ru>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
# Please avoid to pick license terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.
... ...
... ... @@ -63,7 +63,7 @@ int syntax() {
}
int version() {
printf("clsync v%i.%i.%i\n\t"AUTHOR"\n", VERSION_MAJ, VERSION_MIN, REVISION);
printf("clsync v%i.%i"REVISION"\n\t"AUTHOR"\n", VERSION_MAJ, VERSION_MIN);
exit(0);
}
... ...