Release 0.7

git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@245 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
This commit is contained in:
mheily 2010-06-09 03:25:20 +00:00
parent 0ca463e5db
commit caa5dad060
3 changed files with 24 additions and 18 deletions

View File

@ -1,3 +1,13 @@
2010-06-08 v0.7 r244
------------------------------------------------------------------------
* Add Debian packaging to the ports/ directory and improve the 'make deb'
target.
* Set the library soname version.
* Switch from -fPIC to -fpic as the default in CFLAGS.
2010-03-28 v0.6 r238
------------------------------------------------------------------------

View File

@ -82,9 +82,14 @@ publish-www:
cp -R www/* ~/public_html/libkqueue/
clean:
rm -f tags *.a $(OBJS) *.so
rm -f tags *.a $(OBJS) *.so *.so.*
rm -rf pkg
cd test && make clean || true
distclean: clean
rm -f *.tar.gz config.mk config.h $(PROGRAM).pc $(PROGRAM).la rpm.spec
rm -rf $(PROGRAM)-$(VERSION) 2>/dev/null || true
fresh-build:
rm -rf /tmp/$(PROGRAM)-testbuild
svn co svn://mark.heily.com/libkqueue/trunk /tmp/$(PROGRAM)-testbuild
@ -106,11 +111,6 @@ edit: tags
cscope: tags
cscope $(SOURCES) $(HEADERS)
distclean: clean
rm -f *.tar.gz *.deb *.rpm *.dsc *.changes *.diff.gz \
config.mk config.h $(PROGRAM).pc $(PROGRAM).la rpm.spec
rm -rf $(PROGRAM)-$(VERSION) 2>/dev/null || true
rpm: clean $(DISTFILE)
rm -rf rpm *.rpm *.deb
mkdir -p rpm/BUILD rpm/RPMS rpm/SOURCES rpm/SPECS rpm/SRPMS
@ -123,12 +123,12 @@ rpm: clean $(DISTFILE)
fakeroot alien --scripts *.rpm
deb: clean $(DISTFILE)
tar zxf $(DISTFILE)
cp $(DISTFILE) $(PROGRAM)_$(VERSION).orig.tar.gz
mkdir $(PROGRAM)-$(VERSION)/debian
cp ports/debian/* $(PROGRAM)-$(VERSION)/debian
cd $(PROGRAM)-$(VERSION) && dpkg-buildpackage
rm -rf $(PROGRAM)-$(VERSION)
mkdir pkg && cd pkg ; \
tar zxf ../$(DISTFILE) ; \
cp ../$(DISTFILE) $(PROGRAM)_$(VERSION).orig.tar.gz ; \
cp -R ../ports/debian $(PROGRAM)-$(VERSION) ; \
cd $(PROGRAM)-$(VERSION) && dpkg-buildpackage -uc -us
lintian -i deb/*.deb
debug-install:
./configure --prefix=/usr --debug=yes

View File

@ -3,14 +3,10 @@
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
config.mk: configure
configure:
dh_testdir
./configure --prefix=/usr --mandir=\$${prefix}/share/man
build: build-stamp
build-stamp: config.mk
build-stamp:
dh_testdir
CFLAGS="" LDFLAGS="" ./configure --prefix=/usr --mandir=\$${prefix}/share/man
$(MAKE)
touch $@