[Reportbug-maint] Bug#711125: reportbug: make does not make

Krzysztof Żelechowski giecrilj at stegny.2a.pl
Tue Jun 4 21:42:27 UTC 2013


Package: reportbug
Version: 4.12.6
Severity: normal

When I say { make; } to build reportbug, make says there is nothing to build.
My patch also installs manual pages, which I believe you do otherwise, so that
part probably does not apply.


-- Package-specific info:
** Environment settings:
INTERFACE="gtk2"

** /home/krzysztof/.reportbugrc:
reportbug_version "4.12.6"
mode novice
ui gtk2
email "giecrilj at stegny.2a.pl"
http_proxy "http://w3c.2a.pl:8080/"

-- System Information:
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.10-1.16-desktop (SMP w/1 CPU core; PREEMPT)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

*** /home/krzysztof/proj/home:yecril71pl/reportbug/Makefile.patch
diff -U 3 -b -r -x '*.o.cmd' -- o/Makefile n/Makefile
--- o/Makefile  2010-08-07 22:03:03.000000000 +0200
+++ n/Makefile  2012-08-25 17:23:42.164976380 +0200
@@ -17,6 +17,10 @@
 CODE_PACKAGE_DIR := .
 CODE_PROGRAM_DIR := .
 TEST_DIR := test
+DESTDIR = /
+PREFIX = /usr/local
+DATADIR = $(PREFIX)/share
+MANDIR = $(DATADIR)/man

 # Variables that will be extended by module include files
 GENERATED_FILES :=
@@ -35,9 +39,15 @@

 .PHONY: build
 build:
+       ./setup.py build $(PYBUILDFLAGS)
+       gzip man/*

 .PHONY: install
 install: build
+       ./setup.py install --root '$(DESTDIR)' --prefix '$(PREFIX)'
+       install -d $(foreach chapter, $(wildcard $(DATADIR)/man/*),
'$(DESTDIR)$(chapter)')
+       $(foreach page, $(wildcard man/*), install -m=r
'-t$(DESTDIR)$(MANDIR)/man$(subst .,,$(suffix $(basename $(page))))'
'$(page)';)
+



More information about the Reportbug-maint mailing list