aclocal.m4
build
configure
+deb-build
## -*-Makefile-*-
##
-## $Id: Makefile.am,v 1.38 2003/10/12 14:54:18 mdw Exp $
+## $Id: Makefile.am,v 1.39 2003/11/09 13:48:43 mdw Exp $
##
## Building the distribution
##
##----- Revision history ----------------------------------------------------
##
## $Log: Makefile.am,v $
+## Revision 1.39 2003/11/09 13:48:43 mdw
+## Debianization\!
+##
## Revision 1.38 2003/10/12 14:54:18 mdw
## Version bump.
##
crc32-tab.c: crc-mktab
./crc-mktab \
-p0x04c11db7 -b32 -B8 -r \
- -c -scrc32_table -icrc32.h -tuint32 -ocrc32-tab.c
+ -c -scrc32_table -icrc32.h -tuint32 -ocrc32-tab.c.new
+ mv crc32-tab.c.new crc32-tab.c
crc_mktab_SOURCES = crc-mktab.c mdwopt.c quis.c pquis.c report.c str.c
CLEANFILES = $(TEST_CLEAN) crc32-tab.c
DISTCLEANFILES = libtool
-EXTRA_DIST = $(TEST_DIST) maninst
+EXTRA_DIST = $(TEST_DIST) maninst \
+ debian/rules debian/copyright debian/control debian/changelog
##----- That's all, folks ---------------------------------------------------
--- /dev/null
+files mlib-dev tmp substvars *.debhelper
--- /dev/null
+mlib (2.0.2) experimental; urgency=low
+
+ * Debianization!
+
+ -- Mark Wooding <mdw@nsict.org> Sat, 8 Nov 2003 22:43:10 +0000
--- /dev/null
+Source: mlib
+Section: libs
+Priority: extra
+Maintainer : Mark Wooding
+Standards-Version: 3.1.1
+
+Package: mlib
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: A library of miscellaneous stuff
+
+Package: mlib-dev
+Architecture: any
+Depends: mlib (= 2.0.2), libc6-dev
+Description: A library of miscellaneous stuff
+ This package contains the header files and static libraries needed to
+ compile programs which use mLib.
--- /dev/null
+mLib is copyright (c) 2003 Straylight/Edgeware
+
+mLib is free software; you can redistribute it and/or modify it under
+the terms of the GNU Library General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+mLib 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 Library General Public
+License for more details.
+
+You should have a copy of the GNU Library General Public License in
+/usr/share/common-licenses/LGPL-2; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+USA.
--- /dev/null
+#! /usr/bin/make -f
+
+build:
+ rm -rf deb-build build; mkdir deb-build
+ cd deb-build; ../configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --libexecdir=/usr/lib
+ make -C deb-build
+ make -C deb-build check
+ touch build
+
+clean:
+ dh_clean
+ rm -rf deb-build build
+
+install: build
+ dh_clean
+ make -C deb-build install DESTDIR=`pwd`/debian/tmp
+ rm -f debian/tmp/usr/lib/*.la
+ mkdir -p debian/mlib-dev/usr/lib debian/mlib-dev/usr/share/man
+ mv debian/tmp/usr/share/man/man3 debian/mlib-dev/usr/share/man
+ mv debian/tmp/usr/lib/*.a debian/mlib-dev/usr/lib
+ mv debian/tmp/usr/lib/*.so debian/mlib-dev/usr/lib
+ mv debian/tmp/usr/include debian/mlib-dev/usr
+ dh_strip -a
+
+binary-indep:
+
+binary-arch: install
+ dh_testdir -a
+ dh_testroot -a
+ dh_makeshlibs -a
+ dh_fixperms -a
+ dh_installman -a
+ dh_compress -a
+ dh_installdocs -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_installdeb -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-indep binary-arch
+
+source:
+ rm -rf deb-build/*.tar.gz deb-build/=deb=
+ make -C deb-build dist PACKAGE=mlib
+ mkdir deb-build/=deb=
+ cd deb-build/=deb=; tar xvfz ../*.tar.gz
+ cd ..; dpkg-source -i -b mLib/deb-build/=deb=/*
+ rm -rf deb-build/=deb=
+
+.PHONY: binary binary-arch binary-indep clean install