Blame gettext-tools/examples/hello-c++-kde/admin/Makefile.common

Packit Bot 06c835
### Makefile.common
Packit Bot 06c835
###
Packit Bot 06c835
### Copyright (C) 2002 by the KDE developers
Packit Bot 06c835
Packit Bot 06c835
### All the real work is done by the shellscript cvs.sh
Packit Bot 06c835
Packit Bot 06c835
SHELL=/bin/sh
Packit Bot 06c835
Packit Bot 06c835
cvs dist cvs-clean configure.in configure.files subdirs package-messages package-merge:
Packit Bot 06c835
	@admindir=$(admindir); \
Packit Bot 06c835
	if test "x$$admindir" = x; then \
Packit Bot 06c835
	  admindir=.; until test -f $$admindir/admin/cvs.sh; do \
Packit Bot 06c835
	    admindir=$$admindir/..; \
Packit Bot 06c835
	    if test `cd $$admindir && pwd` = / ; then break; fi; \
Packit Bot 06c835
	  done; \
Packit Bot 06c835
	  admindir=$$admindir/admin; \
Packit Bot 06c835
	  if test -f $$admindir/cvs.sh; then :; else \
Packit Bot 06c835
	    echo "Can't find the admin/ directory in any parent of the"; \
Packit Bot 06c835
	    echo "current directory.  Please set it with admindir=..."; \
Packit Bot 06c835
	    exit 1; \
Packit Bot 06c835
	  fi; \
Packit Bot 06c835
	fi; \
Packit Bot 06c835
	if test "$@" = "package-merge"; then \
Packit Bot 06c835
		MAKE=$(MAKE) POFILES="$(POFILES)" PACKAGE="$(PACKAGE)" \
Packit Bot 06c835
	  	$(SHELL) $$admindir/cvs.sh package-merge ;\
Packit Bot 06c835
	else MAKE=$(MAKE) $(SHELL) $$admindir/cvs.sh $@ ;\
Packit Bot 06c835
	fi
Packit Bot 06c835
Packit Bot 06c835
configure.in: configure.files $(shell test -f configure.files && cat configure.files) subdirs
Packit Bot 06c835
configure.files: subdirs
Packit Bot 06c835
Packit Bot 06c835
.SILENT:
Packit Bot 06c835
Packit Bot 06c835
.PHONY: cvs dist cvs-clean package-merge package-messages