From b100c24208422d94ed766f539f3b9b35b44ed802 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Thu, 29 Jun 2023 10:08:34 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 3 +-- Makefile | 21 +++++++++++++++++++++ db2html | 0 docbook2man-spec.pl | 0 4 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 Makefile mode change 100755 => 100644 db2html mode change 100755 => 100644 docbook2man-spec.pl diff --git a/.gitignore b/.gitignore index 4d4237c..cb04147 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -SOURCES/docbook-utils-0.6.14.tar.gz -/docbook-utils-0.6.14.tar.gz +docbook-utils-0.6.14.tar.gz diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..781d6cc --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: docbook-utils +# $Id$ +NAME := docbook-utils +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),) +# attempt 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) diff --git a/db2html b/db2html old mode 100755 new mode 100644 diff --git a/docbook2man-spec.pl b/docbook2man-spec.pl old mode 100755 new mode 100644