Clean the debian package of unclear licensed material.

In passing, fix the clean target too.
This commit is contained in:
Dimitri Fontaine 2014-09-11 14:11:20 +02:00
parent d5b91f99e5
commit 1acd497a69
3 changed files with 11 additions and 4 deletions

View File

@ -49,7 +49,7 @@ DEBUILD_ROOT = /tmp/pgloader
all: $(PGLOADER)
clean:
rm -rf $(LIBS) $(QLDIR) $(MANIFEST) $(BUILDAPP) $(PGINSTALL)
rm -rf $(LIBS) $(QLDIR) $(MANIFEST) $(BUILDAPP) $(PGLOADER)
docs:
ronn -roff pgloader.1.md
@ -133,7 +133,14 @@ test: $(PGLOADER)
deb:
# intended for use on a debian system
mkdir -p $(DEBUILD_ROOT) && rm -rf $(DEBUILD_ROOT)/*
rsync -Ca --exclude 'build' --exclude '.vagrant' ./ $(DEBUILD_ROOT)/
rsync -Ca --exclude 'build' \
--exclude '.vagrant' \
--exclude 'test/sqlite-chinook.load' \
--exclude 'test/sqlite' \
--exclude 'test/data/2013_Gaz_113CDs_national.txt' \
--exclude 'test/data/reg2013.dbf' \
--exclude 'test/data/sakila-db.zip' \
./ $(DEBUILD_ROOT)/
cd $(DEBUILD_ROOT) && make -f debian/rules orig
cd $(DEBUILD_ROOT) && debuild -us -uc -sa
cp -a /tmp/pgloader_* /tmp/cl-pgloader* build/

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
pgloader (3.1.0-1) unstable; urgency=medium
pgloader (3.1.0+dfsg-1) unstable; urgency=medium
* Stable release of the new pgloader version, 3.1

View File

@ -96,7 +96,7 @@
<td><a href="http://pgloader.io/files/pgloader-latest.tgz">pgloader-latest.tgz</a></td>
</tr>
<tr><td>debian wheezy, <tt>amd64</tt></td>
<td><a href="http://pgloader.io/files/pgloader_3.1.0-1_amd64.deb">pgloader_3.1.0-1_amd64.deb</a></td>
<td><a href="http://pgloader.io/files/pgloader_3.1.0+dfsg-1_amd64.deb">pgloader_3.1.0+dfsg-1_amd64.deb</a></td>
</tr>
<tr><td>CentOS 6.4, <tt>amd64</tt></td>
<td><a href="http://pgloader.io/files/pgloader-3.1.0-22.el6.x86_64.rpm">pgloader-3.1.0-22.el6.x86_64.rpm</a></td>