[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#65405: marked as done ([patch] Separate `config' from `build' targets in debian/rules.)



Your message dated Sun, 15 Dec 2013 12:31:53 +0000
with message-id <[🔎] E1VsArR-0007IP-9K@franck.debian.org>
and subject line Bug#712779: Removed package(s) from unstable
has caused the Debian Bug report #65405,
regarding [patch] Separate `config' from `build' targets in debian/rules.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
65405: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=65405
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ncpfs
Version: 2.2.0.17-2
Severity: wishlist

 Separate `config' target from `build' target to make it easier on
 folks who study the code before they build it.  I needed to configure
 first before making TAGS, viewing the config.h, etc.  I wish this was
 a standard thing.  I alway want to be able to run `debian/rules
 config'.

 Also allow setting of extra `configure' options, and explicitly pass
 the ${configuration} value, so that it's set correctly on i{5,6}86
 machines and bears the Debian label in the vendor field.

Index: rules
===================================================================
RCS file: /var/cvs/debian/ncpfs/debian/rules,v
retrieving revision 1.1
diff -u -r1.1 rules
--- rules	2000/06/09 04:41:16	1.1
+++ rules	2000/06/09 06:06:01
@@ -14,25 +14,44 @@
 		mandir=$(DESTDIR)/usr/share/man \
 		sbindir=$(DESTDIR)/usr/sbin
 
+# ----------------------------------------------------------------
+# Build host environment configuration:
+DEB_HOST_GNU_CPU    := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
+DEB_HOST_GNU_TYPE   := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_HOST_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
+
+DEB_BUILD_GNU_CPU    := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
+DEB_BUILD_GNU_TYPE   := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_BUILD_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM)
+
+configuration := ${DEB_HOST_GNU_CPU}-debian-${DEB_HOST_GNU_SYSTEM}
+
+config_enable_opts := --enable-pam
+# --enable-trace
+
+config_extra_opts :=
+
+config: config-stamp
+config-stamp:
+	./configure 				\
+		--prefix=/usr			\
+		 --mandir=/usr/share/man	\
+		${config_enable_opts} 		\
+		${config_extra_opts} 		\
+		${configuration}
+	touch $@
+
 build: build-stamp
-build-stamp:
+build-stamp: config-stamp
 	dh_testdir
-
-	# Add here commands to compile the package.
-	[ -f Makefile ] || ./configure --prefix=/usr --mandir=/usr/share/man
-
 	$(MAKE)
-
-	touch build-stamp
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp install-stamp
-
-	# Add here commands to clean up after the build process.
 	-$(MAKE) distclean
-
 	dh_clean
 
 install: install-stamp
@@ -41,10 +60,7 @@
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-
-	# Add here commands to install the package into debian/tmp.
 	$(MAKE) install $(IVARS)
-
 	# Create a symlink from /usr/sbin/nwmsg to /sbin/nwmsg because
 	#	the kernel (kerneld actually) will look for this binary there
 	#	when a broadcast message from the server is received...
@@ -97,4 +113,4 @@
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: config build clean binary-indep binary-arch binary

-- 
A few months in the laboratory often saves several hours at the library.
mailto:karlheg@debian.org (Karl M. Hegbloom)
irc: nick karlheg on irc.debian.org


--- End Message ---
--- Begin Message ---
Version: 2.2.6-9+rm

Dear submitter,

as the package ncpfs has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/712779

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Joerg Jaspert (the ftpmaster behind the curtain)

--- End Message ---

Reply to: