diff options
Diffstat (limited to 'sysutils/debhelper/files/patch-Makefile')
-rw-r--r-- | sysutils/debhelper/files/patch-Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sysutils/debhelper/files/patch-Makefile b/sysutils/debhelper/files/patch-Makefile index 4a204ea91f94..cd6aa9624ad9 100644 --- a/sysutils/debhelper/files/patch-Makefile +++ b/sysutils/debhelper/files/patch-Makefile @@ -1,4 +1,4 @@ ---- Makefile.orig 2017-09-02 15:29:54 UTC +--- Makefile.orig 2020-01-27 20:31:46 UTC +++ Makefile @@ -3,7 +3,7 @@ PO4A ?= po4a POD2MAN ?= pod2man @@ -9,17 +9,19 @@ MANPAGES=$(COMMANDS:=.1) dh.1 # Find deprecated commands by looking at their synopsis. -@@ -118,17 +118,16 @@ endif +@@ -118,19 +118,18 @@ endif done; install: - install -d $(DESTDIR)$(PREFIX)/bin \ - $(DESTDIR)$(PREFIX)/share/debhelper/autoscripts \ - $(DESTDIR)$(PERLLIBDIR)/Sequence \ -- $(DESTDIR)$(PERLLIBDIR)/Buildsystem +- $(DESTDIR)$(PERLLIBDIR)/Buildsystem \ +- $(DESTDIR)$(PERLLIBDIR)/DH + install -d \ + $(DESTDIR)${SITE_PERL}/Debian/Debhelper/Sequence \ -+ $(DESTDIR)${SITE_PERL}/Debian/Debhelper/Buildsystem ++ $(DESTDIR)${SITE_PERL}/Debian/Debhelper/Buildsystem \ ++ $(DESTDIR)${SITE_PERL}/DH install dh $(COMMANDS) $(DESTDIR)$(PREFIX)/bin - install -m 0644 autoscripts/* $(DESTDIR)$(PREFIX)/share/debhelper/autoscripts - install -m 0644 lib/Debian/Debhelper/*.pm $(DESTDIR)$(PERLLIBDIR) @@ -29,9 +31,11 @@ - sed -i '/$$prefix=/s@/usr@$(PREFIX)@g' $(DESTDIR)$(PERLLIBDIR)/Dh_Lib.pm - install -m 0644 lib/Debian/Debhelper/Sequence/*.pm $(DESTDIR)$(PERLLIBDIR)/Sequence - install -m 0644 lib/Debian/Debhelper/Buildsystem/*.pm $(DESTDIR)$(PERLLIBDIR)/Buildsystem +- install -m 0644 lib/Debian/Debhelper/DH/*.pm $(DESTDIR)$(PERLLIBDIR)/DH + sed -i '' '/$$prefix=/s@/usr@$(PREFIX)@g' $(DESTDIR)${SITE_PERL}/Debian/Debhelper/Dh_Lib.pm + install -m 0644 lib/Debian/Debhelper/Sequence/*.pm $(DESTDIR)${SITE_PERL}/Debian/Debhelper/Sequence + install -m 0644 lib/Debian/Debhelper/Buildsystem/*.pm $(DESTDIR)${SITE_PERL}/Debian/Debhelper/Buildsystem ++ install -m 0644 lib/Debian/Debhelper/DH/*.pm $(DESTDIR)${SITE_PERL}/DH test: version MAKEFLAGS= HARNESS_OPTIONS=j$(TEST_JOBS) ./run perl -MTest::Harness -e 'runtests grep { ! /CVS/ && ! /\.svn/ && -f && -x && m/\.t$$/ } @ARGV' t/* t/*/* |