tagging KDE 3.5.8
[kdevelop:kdevelop.git] / admin / Makefile.common
1 ### Makefile.common
2 ###
3 ### Copyright (C) 2002 by the KDE developers
4
5 ### All the real work is done by the shellscript cvs.sh
6
7 SHELL=/bin/sh
8
9 cvs dist configure configure.in configure.files subdirs package-messages package-merge Makefile.am acinclude.m4 extract-messages:
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 \
27                 MAKE="$(MAKE)" $(SHELL) $$admindir/cvs.sh $@ ;\
28         fi
29
30 configure.in: configure.files subdirs
31 configure.files: subdirs
32
33 svn: cvs
34
35 .SILENT:
36
37 .PHONY: svn cvs dist package-merge package-messages