Useful if you are doing any kind of local work on the servers... Just run the 'binary-server' target. Saves a lot of compile time.
Dan /--------------------------------\ /--------------------------------\ | Daniel Jacobowitz |__| SCS Class of 2002 | | Debian GNU/Linux Developer __ Carnegie Mellon University | | [EMAIL PROTECTED] | | [EMAIL PROTECTED] | \--------------------------------/ \--------------------------------/
--- debian.orig/rules Sun Jan 14 15:11:47 2001 +++ debian/rules Sun Jan 14 18:07:49 2001 @@ -255,4 +255,74 @@ @echo 'See the control file for build dependencies; also ensure that Linux kernel 2.2.x' @echo 'or later headers are installed (the X server framebuffer driver needs them).' +binary-server: $(STAMP_DIR)/binary-server +$(STAMP_DIR)/binary-server: DH_OPTIONS=-pxserver-xfree86 +$(STAMP_DIR)/binary-server: $(STAMP_DIR)/build-server $(STAMP_DIR)/install-server + dh_testdir + dh_testroot + dh_movefiles + dh_installdebconf + dh_installdirs + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen + dh_installpam +# dh_installmime + dh_installinit --noscripts +# dh_installcron +# dh_installmanpages +# dh_installinfo + dh_undocumented + dh_installchangelogs +# stripped modules refuse to load on Alpha +ifeq ($(ARCH),alpha) + # dh_strip -Nxserver-xfree86 +else + dh_strip +endif + dh_link + dh_compress + dh_fixperms + # chown root:root debian/xserver-common/usr/X11R6/bin/X + # chmod ug+s debian/xserver-common/usr/X11R6/bin/X + # chown :utmp debian/xterm/usr/X11R6/bin/xterm + # chmod g+s debian/xterm/usr/X11R6/bin/xterm + dh_suidregister + dh_installdeb +# dh_makeshlibs +# dh_perl + dh_shlibdeps -Nxlibs --exclude=usr/X11R6/lib/modules + # DH_OPTIONS= dh_shlibdeps -pxlibs --exclude=libxrx.so + dh_gencontrol + dh_md5sums + dh_builddeb + touch $@ + +build-server: $(STAMP_DIR)/build-server +$(STAMP_DIR)/build-server: $(STAMP_DIR)/source.make + dh_testdir +ifndef test_rules + #$(MAKE) -C $(SOURCE_TREE) BOOTSTRAPCFLAGS="$(L6FLAGS)" SHELL="/bin/sh -e" World + $(MAKE) -C $(SOURCE_TREE) WORLDOPTS="" World IMAKE_DEFINES="-DBuildServersOnly=YES" +else + # skipping build rule because test_rules was defined +endif + touch $@ + +install-server: $(STAMP_DIR)/install-server +$(STAMP_DIR)/install-server: $(STAMP_DIR)/build-server + dh_testdir + dh_testroot +ifndef test_rules + umask 022 + dh_clean -k + $(MAKE) -C $(SOURCE_TREE) SHELL="/bin/sh -e" DESTDIR=$(DEBTREEDIR) install install.man +else + # skipping install rule because test_rules was defined +endif + touch $@ + .PHONY: default build install clean-debian clean binary-arch binary-indep binary environment progeny-installer +.PHONY: build-server install-server binary-server