$(INSTALL) -m 644 ptabtools.pc $(DESTDIR)$(pkgconfigdir)
$(INSTALL) -d $(DESTDIR)$(datadir)
$(INSTALL) -m 644 ptbxml2musicxml.xsl $(DESTDIR)$(datadir)
+ $(INSTALL) -m 644 ptbxml.dtd $(DESTDIR)$(datadir)
test: all ptb2ptb
$(MAKE) -C tests
# Process this file with autoconf to produce a configure script.
+AC_PREREQ(2.50)
AC_INIT(ptabtools, 0.4.2, [jelmer@samba.org])
AC_CONFIG_SRCDIR([ptb.c])
AC_CONFIG_HEADER([config.h])
Priority: optional
Maintainer: Jelmer Vernooij <jelmer@samba.org>
Standards-Version: 3.6.1.0
-Build-Depends: debmake, libxml2-dev, libxslt1-dev, libpopt-dev
+Build-Depends: debmake, libxml2-dev, libxslt1-dev, libpopt-dev, debhelper (>> 4.0.0)
Package: libptb0
Architecture: any
It was downloaded from http://jelmer.vernstok.nl/oss/ptabtools/
-Copyright: 2005 by Jelmer Vernooij <jelmer@samba.org>
+Author: Jelmer Vernooij <jelmer@samba.org>
-License: GNU General Public License
+Copyright:
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+
+ See /usr/share/common-licenses/LGPL-2 on your debian system.
-<Must follow here>
usr/bin/ptb2ly
+usr/share/man/man1/ptb2ly.1
usr/bin/ptb2ascii
+usr/share/man/man1/ptb2ascii.1
usr/bin/gp2ly
+usr/share/man/man1/gp2ly.1
usr/bin/ptbdict
+usr/share/man/man1/ptbdict.1
usr/bin/ptb2abc
+usr/share/man/man1/ptb2abc.1
usr/bin/ptb2xml
+usr/share/man/man1/ptb2xml.1
usr/bin/ptbinfo
+usr/share/man/man1/ptbinfo.1
+usr/share/ptabtools/*
package=ptabtools
-build: configure
- $(checkdir)
+build: build-stamp
+build-stamp:
+ dh_testdir
+ ./autogen.sh
./configure --prefix=/usr
$(MAKE)
- touch build
+ touch $@
-configure:
- $(checkdir)
- ./autogen.sh
- rm -rf autom4te.cache
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ $(MAKE) install DESTDIR=debian/tmp
+ dh_movefiles
clean:
- $(checkdir)
- rm -f build
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
-$(MAKE) clean
- rm -f `find . -name "*~"`
- rm -rf debian/tmp `find debian/* -type d ! -name CVS` debian/files* core
- rm -f debian/*substvars
+ rm -rf autom4te.cache
+ dh_clean
+
+binary-indep: build install
+ dh_testdir -i
+ dh_testroot -i
+ dh_installdocs -i
+ dh_installchangelogs -i ChangeLog
+ dh_compress -i
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
-binary-indep: checkroot build
- $(checkdir)
# There are no architecture-independent files to be uploaded
# generated by this package. If there were any they would be
# made here.
-binary-arch: checkroot build
- $(checkdir)
- rm -rf debian/tmp `find debian/* -type d ! -name CVS`
- install -d debian/tmp
- cd debian/tmp && install -d `cat ../dirs`
- $(MAKE) install DESTDIR=`pwd`/debian/tmp prefix=/usr
- debstd ChangeLog README TODO
- dpkg-gencontrol -isp -pptabtools
- chown -R root:root debian/tmp
- chmod -R go=rX debian/tmp
- dpkg --build debian/tmp ..
-
-define checkdir
- test -f debian/rules
-endef
-
-binary: binary-indep binary-arch
-
-checkroot:
- $(checkdir)
- test root = "`whoami`"
-
-.PHONY: binary binary-arch binary-indep clean checkroot
+binary-arch: build install
+ dh_testdir -a
+ dh_testroot -a
+ dh_installchangelogs -a ChangeLog
+ dh_installdocs -a
+ dh_installman -a
+ dh_strip -a
+ dh_compress -a
+ dh_fixperms -a
+ dh_makeshlibs -plibptb0
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-arch # binary-indep
+
+.PHONY: binary binary-arch binary-indep clean