[Pkg-lyx-devel] svn commit: r470 - in /dvipost/trunk/debian: changelog clean compat control install manpages rules

pelle at users.alioth.debian.org pelle at users.alioth.debian.org
Sun Jun 8 09:55:13 UTC 2008


Author: pelle
Date: Sun Jun  8 09:55:13 2008
New Revision: 470

URL: http://svn.debian.org/wsvn/pkg-lyx/?sc=1&rev=470
Log:
Switch to debhelper v7, with a much smaller debian/rules.

Added:
    dvipost/trunk/debian/clean
    dvipost/trunk/debian/install
    dvipost/trunk/debian/manpages
Modified:
    dvipost/trunk/debian/changelog
    dvipost/trunk/debian/compat
    dvipost/trunk/debian/control
    dvipost/trunk/debian/rules

Modified: dvipost/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-lyx/dvipost/trunk/debian/changelog?rev=470&op=diff
==============================================================================
--- dvipost/trunk/debian/changelog (original)
+++ dvipost/trunk/debian/changelog Sun Jun  8 09:55:13 2008
@@ -14,6 +14,7 @@
   * Recommend TeX instead of depending on it. Only recommend texlive-
     base-bin, tetex no longer in Debian.
   * Use quilt instead of dpatch.
+  * Switch to debhelper v7, with a much smaller debian/rules.
 
  -- Per Olofsson <pelle at debian.org>  Thu, 15 Nov 2007 10:25:17 +0100
 

Added: dvipost/trunk/debian/clean
URL: http://svn.debian.org/wsvn/pkg-lyx/dvipost/trunk/debian/clean?rev=470&op=file
==============================================================================
--- dvipost/trunk/debian/clean (added)
+++ dvipost/trunk/debian/clean Sun Jun  8 09:55:13 2008
@@ -1,0 +1,1 @@
+install

Modified: dvipost/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-lyx/dvipost/trunk/debian/compat?rev=470&op=diff
==============================================================================
--- dvipost/trunk/debian/compat (original)
+++ dvipost/trunk/debian/compat Sun Jun  8 09:55:13 2008
@@ -1,1 +1,1 @@
-5
+7

Modified: dvipost/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-lyx/dvipost/trunk/debian/control?rev=470&op=diff
==============================================================================
--- dvipost/trunk/debian/control (original)
+++ dvipost/trunk/debian/control Sun Jun  8 09:55:13 2008
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian LyX Maintainers <pkg-lyx-devel at lists.alioth.debian.org>
 Uploaders: Sven Hoexter <sven at timegate.de>, Per Olofsson <pelle at debian.org>
-Build-Depends: debhelper (>= 5.0.0), quilt
+Build-Depends: debhelper (>= 7), quilt
 Standards-Version: 3.7.3
 Vcs-Svn: svn://svn.debian.org/svn/pkg-lyx/dvipost/trunk
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-lyx/dvipost/trunk

Added: dvipost/trunk/debian/install
URL: http://svn.debian.org/wsvn/pkg-lyx/dvipost/trunk/debian/install?rev=470&op=file
==============================================================================
--- dvipost/trunk/debian/install (added)
+++ dvipost/trunk/debian/install Sun Jun  8 09:55:13 2008
@@ -1,0 +1,1 @@
+dvipost.sty usr/share/texmf/tex/latex/dvipost

Added: dvipost/trunk/debian/manpages
URL: http://svn.debian.org/wsvn/pkg-lyx/dvipost/trunk/debian/manpages?rev=470&op=file
==============================================================================
--- dvipost/trunk/debian/manpages (added)
+++ dvipost/trunk/debian/manpages Sun Jun  8 09:55:13 2008
@@ -1,0 +1,1 @@
+dvipost.man

Modified: dvipost/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-lyx/dvipost/trunk/debian/rules?rev=470&op=diff
==============================================================================
--- dvipost/trunk/debian/rules (original)
+++ dvipost/trunk/debian/rules Sun Jun  8 09:55:13 2008
@@ -1,74 +1,20 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# include rules for quilt
 include /usr/share/quilt/quilt.make
 
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-config.status:
-	dh_testdir
-	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
-
-
-build: patch build-stamp
-
-build-stamp:  config.status
-	dh_testdir
-	$(MAKE)
-	touch build-stamp
+build: patch
+	dh build
 
 clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	[ ! -f Makefile ] || $(MAKE) distclean
-	rm -f config.log install
-	dh_clean 
+	dh clean
 
 install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
+	dh install --before auto_install
+	$(MAKE) install prefix=`pwd`/debian/dvipost/usr
+	dh install --after auto_install
 
-	$(MAKE) install prefix=$(CURDIR)/debian/dvipost/usr
-	cp dvipost.sty $(CURDIR)/debian/dvipost/usr/share/texmf/tex/latex/dvipost
+binary-arch: install
+	dh binary-arch
 
-# Build architecture-independent files here.
-binary-indep: build install
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs CHANGELOG
-	dh_installdocs
-	dh_installexamples
-	dh_installman dvipost.man
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary patch unpatch install 
+binary-indep:
+binary: binary-arch




More information about the Pkg-lyx-devel mailing list