cvsdist e91b33a
# Makefile for source rpm: httpd
2c706c1
# $Id: Makefile,v 1.9 2007/10/15 18:52:20 notting Exp $
cvsdist e91b33a
NAME := httpd
cvsdist e91b33a
SPECFILE = $(firstword $(wildcard *.spec))
b6814eb
UPSTREAM_CHECKS = asc
cvsdist e91b33a
4e3b0ac
define find-makefile-common
2c706c1
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
4e3b0ac
endef
4e3b0ac
4e3b0ac
MAKEFILE_COMMON := $(shell $(find-makefile-common))
4e3b0ac
4e3b0ac
ifeq ($(MAKEFILE_COMMON),)
4e3b0ac
# attempt a checkout
4e3b0ac
define checkout-makefile-common
4e3b0ac
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
4e3b0ac
endef
4e3b0ac
4e3b0ac
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
4e3b0ac
endif
4e3b0ac
4e3b0ac
include $(MAKEFILE_COMMON)
462252a
462252a
migration.html: migration.xml html.xsl
462252a
	xmlto -x html.xsl html-nochunks migration.xml
462252a
2bc479e
view-migration: migration.html
462252a
	gnome-moz-remote `pwd`/migration.html
462252a