[sepia] 44/63: Removed PREFIX usage as suggested in Upgrading Checklist, dealt with Makefile.PL changes

Hilko Bengen bengen at moszumanska.debian.org
Sat Aug 8 11:20:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository sepia.

commit 75f44c786505b51924ce269bc9fe74ae1b57ab86
Author: Hilko Bengen <bengen at debian.org>
Date:   Sat Mar 19 23:35:55 2011 +0100

    Removed PREFIX usage as suggested in Upgrading Checklist, dealt with Makefile.PL changes
---
 debian/rules | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index a9a1128..a14b768 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,11 @@ build-stamp:
 	dh_testdir
 
 	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(PERL) Makefile.PL \
+		--emacs='' \
+		--lisp=/usr/share/emacs/site-lisp/sepia \
+		--info=/usr/share/info \
+		INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="-Wall -O2 -g"
 
 	makeinfo sepia.texi
@@ -49,15 +53,14 @@ install-stamp:
 
 	# Add commands to install the package into debian/$PACKAGE_NAME here
 	$(MAKE) test
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	$(MAKE) install DESTDIR=$(TMP)
 
 	# As this is a architecture independent package, we are not
 	# supposed to install stuff to /usr/lib. MakeMaker creates
 	# the dirs, we delete them from the deb:
 	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
 
-	install -d $(TMP)/usr/share/emacs/site-lisp/sepia
-	install -m644 *.el $(TMP)/usr/share/emacs/site-lisp/sepia
+	-rm -f $(TMP)/usr/share/info/dir
 
 	touch install-stamp
 
@@ -81,7 +84,7 @@ binary-indep: build install
 	dh_md5sums
 	dh_builddeb
 
-source diff:                                                                  
+source diff:
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
 binary: binary-indep binary-arch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/sepia.git



More information about the Pkg-perl-cvs-commits mailing list