commit - 37359799eba5233958b8b6fe665928c4e3c64889
commit + c8bba8e5c360519e3d6401a62dbc023515ddd8d7
blob - 5648846d753273e9ea73ed2bf663a92eb64275b2
blob + bfe7ff7b909e59c30cd65d5d376d250a9c0e9d47
--- contrib/Debian/rules
+++ contrib/Debian/rules
#!/usr/bin/make -f
#
# ngIRCd -- The Next Generation IRC Daemon
-# Copyright (c)2001-2008 Alexander Barton <alex@barton.de>
+# Copyright (c)2001-2009 Alexander Barton <alex@barton.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
configure-ngircd: configure
dh_testdir
-
+
# configure "standard" variant:
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr \
configure-ngircd-full: configure
dh_testdir
-
+
# configure "full" variant:
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr \
build-stamp-ngircd: configure-ngircd
dh_testdir
rm -f build-stamp-*
-
+
# Add here commands to compile the "standard" package:
$(MAKE)
-
+
touch build-stamp-ngircd
build-ngircd-full: build-stamp-ngircd-full
build-stamp-ngircd-full: configure-ngircd-full
dh_testdir
rm -f build-stamp-*
-
+
# Add here commands to compile the "full" package:
$(MAKE)
# Add here commands to clean up after the build process:
[ ! -f Makefile ] || $(MAKE) distclean
-
+
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
endif
dh_testdir
dh_testroot
dh_installdirs
-
+
# Add here commands to install the "standard" package into debian/ngircd:
$(MAKE) install DESTDIR=$(CURDIR)/debian/ngircd
rm $(CURDIR)/debian/ngircd/usr/share/doc/ngircd/INSTALL*
dh_testdir
dh_testroot
dh_installdirs
-
+
# Add here commands to install the "full" package into debian/ngircd-full:
$(MAKE) install DESTDIR=$(CURDIR)/debian/ngircd-full
rm $(CURDIR)/debian/ngircd-full/usr/share/doc/ngircd/INSTALL*