git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/tags/REL_0_1@54 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
This commit is contained in:
mheily 2009-11-06 04:05:34 +00:00
commit b4a6066f86
2 changed files with 16 additions and 9 deletions

View File

@ -13,10 +13,13 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
PROGRAM=libkqueue
INSTALL=/usr/bin/install
DISTFILES=*.c *.h kqueue.2 README Makefile configure os sys
SOURCES=src/$(UNAME)/*.c
SOURCES=filter.c kevent.c knote.c kqueue.c
MANS=kqueue.2
HEADERS=private.h
EXTRA_DIST=*.in README
SUBDIRS=os sys test
DISTFILES=Makefile configure
FILTERS=vnode.c timer.c signal.c socket.c user.c
include config.mk
@ -48,10 +51,14 @@ check:
cd test && ./configure && make check
dist:
mkdir $(PROGRAM)
cp -R $(DISTFILES) $(PROGRAM)
tar zcvf $(PROGRAM)-`date +%y%m%d_%H%M`.tar.gz $(PROGRAM)
rm -rf $(PROGRAM)
mkdir $(PROGRAM)-$(VERSION)
cp Makefile configure \
$(SOURCES) $(MANS) $(HEADERS) $(EXTRA_DIST) \
$(PROGRAM)-$(VERSION)
cp -R $(SUBDIRS) $(PROGRAM)-$(VERSION)
rm -rf `find $(PROGRAM)-$(VERSION) -type d -name .svn`
tar zcf $(PROGRAM)-$(VERSION).tar.gz $(PROGRAM)-$(VERSION)
rm -rf $(PROGRAM)-$(VERSION)
publish-www:
rm -rf ~/public_html/libkqueue/ ; cp -R www ~/public_html/libkqueue/
@ -60,4 +67,4 @@ clean:
rm -f a.out *.a *.o *.so
distclean: clean
rm -f *.tar.gz config.mk $(FILTERS)
rm -f *.tar.gz config.mk config.h libkqueue.pc $(FILTERS)

View File

@ -38,7 +38,7 @@ check-installed:
./a.out
distclean: clean
rm -f config.mk config.h
rm -f config.mk config.h a.out
clean:
rm -f *.o