[Pkg-backup-mngr-commits] r68 - trunk/debian/patches
sukria at alioth.debian.org
sukria at alioth.debian.org
Wed May 30 13:37:55 UTC 2007
Author: sukria
Date: 2007-05-30 13:37:55 +0000 (Wed, 30 May 2007)
New Revision: 68
Added:
trunk/debian/patches/04_Makefile.dpatch
Modified:
trunk/debian/patches/00list
Log:
NEw patches
Modified: trunk/debian/patches/00list
===================================================================
--- trunk/debian/patches/00list 2007-05-30 13:37:27 UTC (rev 67)
+++ trunk/debian/patches/00list 2007-05-30 13:37:55 UTC (rev 68)
@@ -1,3 +1,4 @@
01_backup-manager.conf.tpl.dpatch
02_cdrecord_to_wodim.dpatch
03_VERSION.dpatch
+04_Makefile.dpatch
Added: trunk/debian/patches/04_Makefile.dpatch
===================================================================
--- trunk/debian/patches/04_Makefile.dpatch (rev 0)
+++ trunk/debian/patches/04_Makefile.dpatch 2007-05-30 13:37:55 UTC (rev 68)
@@ -0,0 +1,75 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04_Makefile.dpatch by Alexis Sukrieh <sukria at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: All changes made in the Makefile for debian packaging needs.
+
+ at DPATCH@
+diff -urNad trunk~/Makefile trunk/Makefile
+--- trunk~/Makefile 2007-05-30 15:08:32.000000000 +0200
++++ trunk/Makefile 2007-05-30 15:24:18.000000000 +0200
+@@ -30,7 +30,7 @@
+
+ # Overwrite that variable with the Perl vendorlib Config value if
+ # you package Backup Manager
+-PERL5DIR?="$(DESTDIR)$(shell perl -MConfig -e 'print "$$Config{sitelib}"')"
++PERL5DIR?="$(DESTDIR)$(shell perl -MConfig -e 'print "$$Config{vendorlib}"')"
+
+ # Some static paths, specific to backup-manager
+ LIBDIR=$(DESTDIR)/usr/share/backup-manager
+@@ -74,7 +74,7 @@
+ # The backup-manager-doc package
+ install_doc:
+ @echo -e "\n*** Building the User Guide ***\n"
+- $(MAKE) -C doc
++ $(MAKE) -C doc DESTDIR=$(DESTDIR)
+ install -d $(DOCDIR)
+ install --owner=root --group=root --mode=0644 $(DOCPDF) $(DOCDIR)
+ install --owner=root --group=root --mode=0644 $(DOCTXT) $(DOCDIR)
+@@ -108,10 +108,10 @@
+
+ # Building manpages
+ man/backup-manager-upload.8:
+- PERL5LIB=. pod2man --center="backup-manager-upload" backup-manager-upload > man/backup-manager-upload.8
++ PERL5LIB=. pod2man --section 8 --center="backup-manager-upload" backup-manager-upload > man/backup-manager-upload.8
+
+ man/backup-manager-purge.8:
+- PERL5LIB=. pod2man --center="backup-manager-purge" backup-manager-purge > man/backup-manager-purge.8
++ PERL5LIB=. pod2man --section 8 --center="backup-manager-purge" backup-manager-purge > man/backup-manager-purge.8
+
+ # build the manpages
+ manpages: manpages-stamp
+@@ -121,8 +121,8 @@
+ # Installing the man pages.
+ install_man: manpages-stamp
+ @echo -e "\n*** Installing man pages ***\n"
+- install -d /usr/share/man/man8/
+- install --owner=root --group=root --mode=0644 man/*.8 /usr/share/man/man8/
++ install -d $(DESTDIR)/usr/share/man/man8/
++ install --owner=root --group=root --mode=0644 man/*.8 $(DESTDIR)/usr/share/man/man8/
+
+ testperldir:
+ @echo "PERL5DIR: $(PERL5DIR)"
+diff -urNad trunk~/doc/Makefile trunk/doc/Makefile
+--- trunk~/doc/Makefile 2007-05-30 14:57:15.000000000 +0200
++++ trunk/doc/Makefile 2007-05-30 15:24:01.000000000 +0200
+@@ -1,14 +1,15 @@
+
+ BASE = user-guide
+ SOURCE = $(BASE).sgml
+-DEST = /usr/share/backup-manager/doc
++DEST = $(DESTDIR)/usr/share/backup-manager/doc
+
+ all: pdf txt html
+ install: all
+ install -d $(DEST)
+- install $(BASE).pdf $(DEST)
+- install $(BASE).html $(DEST)
+- install $(BASE).txt $(DEST)
++ install -m 0644 $(BASE).pdf $(DEST)
++ install -d $(DEST)/$(BASE).html
++ cp $(BASE).html/*html $(DEST)/$(BASE).html
++ install -m 0644 $(BASE).txt $(DEST)
+
+ pdf: user-guide.pdf
+ user-guide.pdf:
Property changes on: trunk/debian/patches/04_Makefile.dpatch
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-backup-mngr-commits
mailing list