From 010a1a4529031f30a24267de47e4e16f9fff8f4b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Wed, 13 Nov 2024 15:08:21 -0500 Subject: [PATCH] * Sun Apr 04 2021 Wei-Lun Chao - 2.10.0.2 - Rebuilt for Fedora * Sun Sep 20 2009 Thierry Vignaud 0.47-2mdv2010.0 + Revision: 445130 - rebuild * Sun Oct 26 2008 Funda Wang 0.47-1mdv2009.1 + Revision: 297428 - New version 0.47 * Fri Aug 08 2008 Thierry Vignaud 0.46-2mdv2009.0 + Revision: 269251 - rebuild early 2009.0 package (before pixel changes) * Wed May 07 2008 Vincent Danen 0.46-1mdv2009.0 + Revision: 202905 - import skalibs --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..60a7a4a --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +NAME := skalibs +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +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 +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +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 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON)