[libparse-debianchangelog-perl] 22/52: Makefile: Support setting installdirs
Intrigeri
intrigeri at moszumanska.debian.org
Sun May 24 12:37:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to branch master
in repository libparse-debianchangelog-perl.
commit 84e7c220fab930cd2b8fbcf521d7b9eb997cba2f
Author: Frank Lichtenheld <frank at lichtenheld.de>
Date: Mon Jul 16 03:59:34 2007 +0200
Makefile: Support setting installdirs
Also use the correct setting in debian/rules
---
Makefile | 6 ++++--
debian/rules | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 69072cb..8b0eca3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,11 @@
+verbose=0
+installdirs=site
+
all: Build
@./Build
Build: Build.PL
- perl Build.PL
+ perl Build.PL installdirs=$(installdirs)
install: Build
@./Build install destdir=$(DESTDIR)
@@ -16,7 +19,6 @@ dist: Build
stats: Build
@./Build postats
-verbose=0
test:
@./Build test verbose=$(verbose)
diff --git a/debian/rules b/debian/rules
index 760c5a4..cd70dcd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,7 @@ build: build-stamp
build-stamp:
dh_testdir
- $(MAKE)
+ $(MAKE) installdirs=vendor
touch build-stamp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libparse-debianchangelog-perl.git
More information about the Pkg-perl-cvs-commits
mailing list