Install gettext-0.18.1.1.tar.gz
[msysgit.git] / mingw / share / doc / gettext / examples / hello-c++-kde / admin / Makefile.common
blobd5c4d859163f02c164370d84a24325ae24afab61
1 ### Makefile.common
2 ###
3 ### Copyright (C) 2002 by the KDE developers
5 ### All the real work is done by the shellscript cvs.sh
7 SHELL=/bin/sh
9 cvs dist cvs-clean configure.in configure.files subdirs package-messages package-merge:
10         @admindir=$(admindir); \
11         if test "x$$admindir" = x; then \
12           admindir=.; until test -f $$admindir/admin/cvs.sh; do \
13             admindir=$$admindir/..; \
14             if test `cd $$admindir && pwd` = / ; then break; fi; \
15           done; \
16           admindir=$$admindir/admin; \
17           if test -f $$admindir/cvs.sh; then :; else \
18             echo "Can't find the admin/ directory in any parent of the"; \
19             echo "current directory.  Please set it with admindir=..."; \
20             exit 1; \
21           fi; \
22         fi; \
23         if test "$@" = "package-merge"; then \
24                 MAKE=$(MAKE) POFILES="$(POFILES)" PACKAGE="$(PACKAGE)" \
25                 $(SHELL) $$admindir/cvs.sh package-merge ;\
26         else MAKE=$(MAKE) $(SHELL) $$admindir/cvs.sh $@ ;\
27         fi
29 configure.in: configure.files $(shell test -f configure.files && cat configure.files) subdirs
30 configure.files: subdirs
32 .SILENT:
34 .PHONY: cvs dist cvs-clean package-merge package-messages