Convert to dh-lisp; add Vcs-Browser debian-1.6.6-3
authorKevin Rosenberg <kevin@rosenberg.net>
Mon, 3 Aug 2009 20:23:01 +0000 (14:23 -0600)
committerKevin Rosenberg <kevin@rosenberg.net>
Mon, 3 Aug 2009 20:23:01 +0000 (14:23 -0600)
debian/changelog
debian/control
debian/postinst [deleted file]
debian/prerm [deleted file]
debian/rules

index 964532780b2abe66665c05f317e3b4d18f1fdaef..3e17ff36c3cbccd288a890feba12992e4817fdbc 100644 (file)
@@ -1,3 +1,10 @@
+cl-lml2 (1.6.6-3) unstable; urgency=low
+
+  * Build with debhelper extension dh-lisp
+  * control: Add Vcs-Browser field. Fix Depends field.
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Mon, 03 Aug 2009 14:21:37 -0600
+
 cl-lml2 (1.6.6-2) unstable; urgency=low
 
   * debian/watch: New file
index eca31830ccaba747a031d0d2f20b0bd9d622a074..6780f550ac4fad2af75fa80f51b546b5c8df8462 100644 (file)
@@ -2,17 +2,18 @@ Source: cl-lml2
 Section: lisp
 Priority: optional
 Maintainer: Kevin M. Rosenberg <kmr@debian.org>
+Build-Depends-Indep: dh-lisp
 Build-Depends: debhelper (>> 7.0.0)
 Standards-Version: 3.8.2.0
 Homepage: http://lml2.b9.com/
 Vcs-Git: git://git.b9.com/lml2.git
+Vcs-Browser: http://git.b9.com/?p=lml2.git
 
 Package: cl-lml2
 Architecture: all
-Depends: common-lisp-controller (>= 3.37), cl-kmrcl
+Depends: ${misc:Depends}, cl-kmrcl
 Description: Lisp Markup Language
  LML2 provides a markup language for generation XHTML web pages.
  .
  The usage of LML2 is incompatible with the original LML version. However,
  the two versions may be used along side each other.
-
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100755 (executable)
index 53dea05..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#! /bin/sh
-set -e
-
-LISP_PKG=lml2
-
-case "$1" in
-    configure)
-       register-common-lisp-source ${LISP_PKG}
-        ;;
-    abort-upgrade|abort-remove|abort-deconfigure)
-        ;;
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-        ;;
-esac
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/prerm b/debian/prerm
deleted file mode 100755 (executable)
index fad123a..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#! /bin/sh
-set -e
-
-LISP_PKG=lml2
-
-case "$1" in
-    remove|upgrade|deconfigure)
-       unregister-common-lisp-source ${LISP_PKG}
-        ;;
-    failed-upgrade)
-        ;;
-    *)
-        echo "prerm called with unknown argument \`$1'" >&2
-        exit 1
-        ;;
-esac
-
-#DEBHELPER#
-
-exit 0
-
-
index 0efeaeab3ba5b64e30ba5e9e876263815bf887a4..cc4f062426b2b223383c91da7a2504a81521bd71 100755 (executable)
@@ -1,55 +1,45 @@
 #!/usr/bin/make -f
 
-pkg    := lml2
-debpkg  := cl-lml2
+pkg            := lml2
+debpkg         := cl-lml2
 
 clc-source     := usr/share/common-lisp/source
 clc-systems    := usr/share/common-lisp/systems
-clc-lml2       := $(clc-source)/$(pkg)
-doc-dir                := usr/share/doc/$(debpkg)
+clc-files      := $(clc-source)/$(pkg)
 
-configure: configure-stamp
-configure-stamp:
-       dh_testdir
-       touch configure-stamp
-
-build: build-stamp
 
-build-stamp: configure-stamp 
-       dh_testdir
-       touch build-stamp
+build:
 
 clean:
        dh_testdir
        dh_testroot
-       rm -f build-stamp configure-stamp
-       rm -f debian/cl-lml2.postinst.* debian/cl-lml2.prerm.*
        dh_clean
 
 install: build
        dh_testdir
        dh_testroot
        dh_prep
-       dh_installdirs $(clc-systems) $(clc-lml2) $(doc-dir)
-       dh_install lml2.asd lml2-tests.asd $(shell echo *.lisp) $(clc-lml2)
-       dh_link $(clc-lml2)/lml2.asd $(clc-systems)/lml2.asd
-       dh_link $(clc-lml2)/lml2-tests.asd $(clc-systems)/lml2-tests.asd
-
-binary-arch: build install
-
-binary-indep: build install
-       dh_testdir -i
-       dh_testroot -i
-       dh_installdocs -i doc/readme.html
-       dh_installexamples -i doc/Makefile doc/make.lisp $(shell echo doc/*.lml)
-       dh_installchangelogs -i ChangeLog
-       dh_strip -i
-       dh_compress -i
-       dh_fixperms -i
-       dh_installdeb -i
-       dh_gencontrol -i
-       dh_md5sums -i
-       dh_builddeb -i
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-arch binary-indep binary install configure
+       dh_installdirs
+       dh_install lml2.asd lml2-tests.asd $(clc-files)
+       dh_install *.lisp $(clc-files)
+
+binary-arch:
+
+binary-indep: install
+       dh_testdir
+       dh_testroot
+       dh_installdocs doc/readme.html
+       dh_installexamples doc/Makefile doc/make.lisp doc/*.lml
+       dh_installchangelogs
+       dh_lisp
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep
+
+
+.PHONY: build clean binary-arch binary-indep binary install