Package: debhelper Version: 4.9.8 Severity: wishlist dh_make(1) generated currently uses hard coded package names in several places, like:
install: build ... install -d debian/beaver/usr/bin \ debian/beaver/usr/share/doc/beaver \ debian/beaver/usr/share/man/man1 SUGGESTION The makefile coulld be better managed if at the top level there were: PACKAGE = beaver CFLAGS = -Wall -g And te variable were used later on: install: build ... install -d debian/$(PACKAGE)/usr/bin \ debian/$(PACKAGE)/usr/share/doc/$(PACKAGE) \ debian/$(PACKAGE)/usr/share/man/man1 Even better, why not abstract more: PACKAGE = beaver CFLAGS = -Wall -g BINDIR = debian/$(PACKAGE)/usr/bin DOCDIR = debian/$(PACKAGE)/usr/share/doc/$(PACKAGE) MAN1DIR = debian/$(PACKAGE)/usr/share/man/man1 Which mean cleaner code: install -d $(BINDIR) $(DOCDIR) $(MAN1DIR) Similarly for other places which use paths that have PACKAGE component. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-1-686 Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US) Versions of packages debhelper depends on: ii binutils 2.16.1-3 The GNU assembler, linker and bina ii coreutils [fileutils] 5.2.1-2 The GNU core utilities ii debconf-utils 1.4.58 debconf utilities ii dpkg-dev 1.13.11 package building tools for Debian ii file 4.12-1 Determines file type using "magic" ii html2text 1.3.2a-2 An advanced HTML to text converter ii perl 5.8.7-4 Larry Wall's Practical Extraction ii po-debconf 0.9.0 manage translated Debconf template debhelper recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]