[Debian-l10n-commits] r2838 - in /dl10n/trunk/debian: changelog rules

bubulle at users.alioth.debian.org bubulle at users.alioth.debian.org
Sun Jan 15 15:47:47 UTC 2012


Author: bubulle
Date: Sun Jan 15 15:47:47 2012
New Revision: 2838

URL: http://svn.debian.org/wsvn/?sc=1&rev=2838
Log:
Use dh7-style debian/rules and drop everything for which I find no
use (such as localization and localized manpages....while there is no
gettext infrastructure in the package as of now)

Modified:
    dl10n/trunk/debian/changelog
    dl10n/trunk/debian/rules

Modified: dl10n/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/dl10n/trunk/debian/changelog?rev=2838&op=diff
==============================================================================
--- dl10n/trunk/debian/changelog (original)
+++ dl10n/trunk/debian/changelog Sun Jan 15 15:47:47 2012
@@ -7,6 +7,9 @@
     who has always been lazy to not upload the package/
   * Upgrade debhelper compatibility level to 8
   * Set maintainer to team and uploader to myself
+  * Use dh7-style debian/rules and drop everything for which I find no
+    use (such as localization and localized manpages....while there is no
+    gettext infrastructure in the package as of now)
     
   * Move the core perl modules to Debian::L10n
     Move Local::Inside to Debian::Pkg

Modified: dl10n/trunk/debian/rules
URL: http://svn.debian.org/wsvn/dl10n/trunk/debian/rules?rev=2838&op=diff
==============================================================================
--- dl10n/trunk/debian/rules (original)
+++ dl10n/trunk/debian/rules Sun Jan 15 15:47:47 2012
@@ -1,120 +1,5 @@
 #!/usr/bin/make -f
-# This file is public domain software, originally written by Joey Hess.
+%:
+	dh $@
 
-bins = check txt html bot
-libsL10n = $(wildcard lib/Debian/L10n/*.pm)
-libsPkg  = $(wildcard lib/Debian/Pkg/*.pm)
-
-
-langs= fr
-
-package = dl10n
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# This is the debhelper compatibility version to use.
-#export DH_COMPAT=2
-
-DESTDIR = $(CURDIR)/debian/$(package)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	perl Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-
-	@echo Update the translations
-	$(MAKE) -C po 
-
-	@echo Compile the localized man pages
-	-rm -rf mantmp
-	mkdir mantmp
-#  Woody version of pod2man does not accept the --name option,
-#  so input file is temporarily copied.
-	for bin in $(bins) ; do \
-	  for lang in $(langs) ; do \
-	    if [ -e po/pod/dl10n-$$bin.$$lang.pod ] ; then \
-	      cp po/pod/dl10n-$$bin.$$lang.pod mantmp/dl10n-$$bin.pod && \
-	      pod2man --section=1 --center='Debian L10N Tools' --release='Debian L10N Tools' \
-	       mantmp/dl10n-$$bin.pod > mantmp/dl10n-$$bin.$$lang.1p; \
-	      rm -f mantmp/dl10n-$$bin.pod; \
-	    fi; \
-	  done; \
-	done
-	for lib in $(libsL10n) ; do \
-	  l=`echo $$lib|sed -e 's/\.pm//' -e 's/.*\///'`; \
-	  for lang in $(langs) ; do \
-	    if [ -e po/pod/$$l.$$lang.pod ] ; then \
-	      cp po/pod/$$l.$$lang.pod mantmp/$$l.pod && \
-	      pod2man --section=3pm --center='Debian L10N Tools' --release='Debian L10N Tools' \
-	       mantmp/$$l.pod > mantmp/Debian::L10n::$$l.$$lang.3pm; \
-	      rm -f mantmp/$$l.pod; \
-	    fi; \
-	  done; \
-	done
-	for lib in $(libsPkg) ; do \
-	  l=`echo $$lib|sed -e 's/\.pm//' -e 's/.*\///'`; \
-	  for lang in $(langs) ; do \
-	    if [ -e po/pod/$$l.$$lang.pod ] ; then \
-	      cp po/pod/$$l.$$lang.pod mantmp/$$l.pod && \
-	      pod2man --section=3pm --center='Debian Pkg Tools' --release='Debian Pkg Tools' \
-	       mantmp/$$l.pod > mantmp/Debian::Pkg::$$l.$$lang.3pm; \
-	      rm -f mantmp/$$l.pod; \
-	    fi; \
-	  done; \
-	done
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	-$(MAKE) clean
-	rm -f Makefile.old
-	rm -rf mantmp
-
-	rm -f build-stamp
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	$(MAKE) install PREFIX=$(DESTDIR)/usr
-	$(MAKE) -C po/bin install DESTDIR=$(DESTDIR)
-	$(MAKE) -C po/pod install DESTDIR=$(DESTDIR)
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installman mantmp/*
-	dh_installchangelogs
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_perl
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-binary: binary-indep binary-arch 
-
-#     Shortcuts
-tar: clean
-	version=`sed -e 's/.* (//' -e 's/-.*//' -e 1q debian/changelog`; \
-	echo Creating ../$(package)_$$version.orig.tar.gz; \
-  tar cf - * | tarcust -p $(package)-$$version -x '.*CVS.*' -x '.*.cvsignore' -x 'debian/.*' | gzip --best > ../$(package)_$$version.orig.tar.gz
-
-deb:
-	dpkg-buildpackage -i -rfakeroot
-
-.PHONY: build clean binary-indep binary-arch binary install
+		




More information about the Debian-l10n-commits mailing list